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 50
[-]
[+]
Changed
nginx.spec
@@ -11,7 +11,8 @@ %define rtmp %{rtmp_ext}-%{rtmp_ext_version} %define rtmp_nover %{rtmp_ext} %define with_rtmp_ext 1 -%define pagespeed_version 1.9.32.2-beta + +%define nps_version 1.9.32.2 %define openssl_version 1.0.1j @@ -51,7 +52,8 @@ Source11: nginx_upstream_check_module-master.tar.gz Source12: openssl-%{openssl_version}.tar.gz Source13: nginx-munin.tar.gz -Source14: ngx_pagespeed.tar.gz +Source14: release-%{nps_version}-beta.zip +Source15: %{nps_version}.tar.gz Source100: index.html Source101: poweredby.png @@ -91,17 +93,26 @@ %{__tar} zxvf %{SOURCE11} %{__tar} zxvf %{SOURCE12} %{__tar} zxvf %{SOURCE13} -%{__tar} zxvf %{SOURCE14} %patch5 -p0 -%build +cd %{_builddir}/nginx-%{version}/ +%{__unzip} -o %{SOURCE14} +if [ $? -ne 0 ]; then + exit $? +fi + +cd ngx_pagespeed-release-%{nps_version}-beta +%{__tar} xzf %{SOURCE15} +if [ $? -ne 0 ]; then + exit $? +fi + +chmod -Rf a+rX,u+w,g-w,o-w . -cd %{_builddir}/nginx-%{version}/ngx_pagespeed -pwd && sleep 5s -scripts/prepare_psol.sh src/ -cd %{buildroot} + +%build export DESTDIR=%{buildroot}
Changed
1.9.32.2.tar.gz
^
Added
release-1.9.32.2-beta.zip
^