From: Elan Ruusamäe Date: Wed, 4 Jan 2006 14:07:56 +0000 (+0000) Subject: - use %service in trigger to respect skip auto restarts of services; rel 2 X-Git-Tag: auto/ac/flyspray-0_9_8-2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fflyspray.git;a=commitdiff_plain;h=022ca2ee9083fe08c3d9b055db13982c594e0283 - use %service in trigger to respect skip auto restarts of services; rel 2 Changed files: flyspray.spec -> 1.12 --- 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