Accepting request 847130 from home:13ilya:branches:server:http
- Refresh spec-file via spec-cleaner and manual optimizations. - Use the ngx_* macros from the nginx-macros package to simplify the spec file. - Moved all the modules that support dynamic modules into their own modules: * nginx-module-geoip2 * nginx-module-fancyindex * nginx-module-headers-more - The rtmp module is replaced with nginx-module-http-flv OBS-URL: https://build.opensuse.org/request/show/847130 OBS-URL: https://build.opensuse.org/package/show/server:http/nginx?expand=0&rev=183
This commit is contained in:
parent
5e524018af
commit
ae11cec77a
@ -1,7 +1,7 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 9 11:07:07 UTC 2020 - Илья Индиго <ilya@ilya.pp.ua>
|
||||
|
||||
- Refresh spec-file via spec-cleaner.
|
||||
- Refresh spec-file via spec-cleaner and manual optimizations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 27 20:23:09 UTC 2020 - Илья Индиго <ilya@ilya.pp.ua>
|
||||
|
10
nginx.spec
10
nginx.spec
@ -198,16 +198,16 @@ sed -i 's/^\(#define NGX_LISTEN_BACKLOG \).*/\1-1/' src/os/unix/ngx_linux_config
|
||||
%make_install
|
||||
%perl_process_packlist
|
||||
|
||||
install -d -m 0750 %{buildroot}%{ngx_home}/{,tmp,proxy,fastcgi,scgi,uwsgi}
|
||||
install -dpm0750 %{buildroot}%{ngx_home}/{,tmp,proxy,fastcgi,scgi,uwsgi}
|
||||
|
||||
install -D -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/logrotate.d/%{pkg_name}
|
||||
install -Dpm0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/logrotate.d/%{pkg_name}
|
||||
|
||||
%if %{with systemd}
|
||||
install -D -m 0644 %{SOURCE3} %{buildroot}%{_unitdir}/nginx.service
|
||||
install -Dpm0644 %{SOURCE3} %{buildroot}%{_unitdir}/nginx.service
|
||||
ln -s -f %{_sbindir}/service %{buildroot}%{_sbindir}/rcnginx
|
||||
install -D -m 0644 %{SOURCE9} %{buildroot}%{_sysusersdir}/nginx.conf
|
||||
install -Dpm0644 %{SOURCE9} %{buildroot}%{_sysusersdir}/nginx.conf
|
||||
%else
|
||||
install -D -m 0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/init.d/%{pkg_name}
|
||||
install -Dpm0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/init.d/%{pkg_name}
|
||||
ln -s -f %{_sysconfdir}/init.d/%{pkg_name} %{buildroot}%{_sbindir}/rc%{pkg_name}
|
||||
%endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user