Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
projects
:
http
>
nginx
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 56
[-]
[+]
Changed
nginx.spec
@@ -96,6 +96,7 @@ %patch5 -p0 +%if 0%{?rhel_version} == 700 || 0%{?centos_version} == 700 cd %{_builddir}/nginx-%{version}/ %{__unzip} -o %{SOURCE14} @@ -108,9 +109,10 @@ if [ $? -ne 0 ]; then exit $? fi -pwd && sleep 5s chmod -Rf a+rX,u+w,g-w,o-w . -pwd && sleep 5s + +%endif + %build export DESTDIR=%{buildroot} @@ -152,7 +154,9 @@ --add-module=%{_builddir}/nginx-%{version}/%{rtmp} \ %endif --add-module=%{_builddir}/nginx-%{version}/Nginx-limit-traffic-rate-module \ +%if 0%{?rhel_version} == 700 || 0%{?centos_version} == 700 --add-module=%{_builddir}/nginx-%{version}/ngx_pagespeed-release-%{nps_version}-beta \ +%endif --with-file-aio \ --with-poll_module make %{?_smp_mflags} @@ -175,6 +179,11 @@ %{__install} -p -D -m 0644 %{SOURCE7} %{buildroot}%{_sysconfdir}/sysconfig/%{name} %{__install} -p -d -m 0755 %{buildroot}%{nginx_confdir}/conf.d %{__install} -p -m 0644 %{SOURCE3} %{SOURCE4} %{SOURCE6} %{SOURCE106} %{buildroot}%{nginx_confdir}/conf.d + +%if 0%{?rhel_version} == 700 || 0%{?centos_version} == 700 +%{__install} -p -m 0644 %{SOURCE106} %{buildroot}%{nginx_confdir}/conf.d +%endif + %{__install} -p -m 0644 %{SOURCE105} %{buildroot}%{nginx_confdir} %{__install} -p -d -m 0755 %{buildroot}%{nginx_home_tmp} %{__install} -p -d -m 0755 %{buildroot}%{nginx_logdir}