From: Elan Ruusamäe Date: Wed, 19 Oct 2016 20:19:57 +0000 (+0300) Subject: drop old params file trigger X-Git-Tag: auto/th/nginx-1.11.5-2^2~5 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=74574467b062a2a392c52b20c85d07cf0bbffb94;p=packages%2Fnginx.git drop old params file trigger this version can't be upgraded to, it's basically new setup anyway --- diff --git a/nginx.spec b/nginx.spec index 545173c..165b8be 100644 --- a/nginx.spec +++ b/nginx.spec @@ -350,9 +350,6 @@ load_module mail load_module stream %endif -# only touch these for ghost packaging -touch $RPM_BUILD_ROOT%{_sysconfdir}/{fastcgi,scgi,uwsgi}.params - %clean rm -rf $RPM_BUILD_ROOT @@ -389,14 +386,6 @@ if [ "$1" = "0" ]; then fi %systemd_reload -%triggerpostun -- %{name} < 1.8.0-2 -# skip *this* trigger on downgrade -[ $1 -le 1 ] && exit 0 -ln -sf fastcgi_params %{_sysconfdir}/fastcgi.params -ln -sf scgi_params %{_sysconfdir}/scgi.params -ln -sf uwsgi_params %{_sysconfdir}/uwsgi.params -exit 0 - %files %defattr(644,root,root,755) %doc CHANGES LICENSE README html/index.html conf/nginx.conf @@ -411,9 +400,6 @@ exit 0 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fastcgi_params %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/scgi_params %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/uwsgi_params -%ghost %{_sysconfdir}/fastcgi.params -%ghost %{_sysconfdir}/scgi.params -%ghost %{_sysconfdir}/uwsgi.params %dir %{_sysconfdir}/conf.d %attr(640,root,root) %{_sysconfdir}/mime.types %attr(640,root,root) %{_sysconfdir}/koi-utf