From 022ca2ee9083fe08c3d9b055db13982c594e0283 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 4 Jan 2006 14:07:56 +0000 Subject: [PATCH] - use %service in trigger to respect skip auto restarts of services; rel 2 Changed files: flyspray.spec -> 1.12 --- flyspray.spec | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/flyspray.spec b/flyspray.spec index 42becbf..23231cb 100644 --- a/flyspray.spec +++ b/flyspray.spec @@ -2,7 +2,7 @@ Summary: Bug Tracking System Summary(pl): System ¶ledzenia b³êdów Name: flyspray Version: 0.9.8 -Release: 1 +Release: 2 License: GPL Group: Applications/WWW Source0: http://flyspray.rocks.cc/files/%{name}-%{version}.tar.gz @@ -11,7 +11,7 @@ Source1: %{name}.conf Source2: %{name}-apache.conf Patch0: %{name}-PLD.patch URL: http://flyspray.rocks.cc/ -BuildRequires: rpmbuild(macros) >= 1.264 +BuildRequires: rpmbuild(macros) >= 1.268 Requires(triggerpostun): sed >= 4.0 Requires: adodb Requires: php >= 3:4.3.0 @@ -117,9 +117,7 @@ fi if [ "$httpd_reload" ]; then /usr/sbin/webapp register httpd %{_webapp} - if [ -f /var/lock/subsys/httpd ]; then - /etc/rc.d/init.d/httpd reload 1>&2 - fi + %service httpd reload fi %files -- 2.43.0