From 74574467b062a2a392c52b20c85d07cf0bbffb94 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 19 Oct 2016 23:19:57 +0300 Subject: [PATCH] drop old params file trigger this version can't be upgraded to, it's basically new setup anyway --- nginx.spec | 14 -------------- 1 file changed, 14 deletions(-) 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 -- 2.44.0