SPECS: flyspray.spec - use %service in trigger to respect skip aut...

glen glen at pld-linux.org
Wed Jan 4 15:08:01 CET 2006


Author: glen                         Date: Wed Jan  4 14:08:01 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use %service in trigger to respect skip auto restarts of services; rel 2

---- Files affected:
SPECS:
   flyspray.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/flyspray.spec
diff -u SPECS/flyspray.spec:1.11 SPECS/flyspray.spec:1.12
--- SPECS/flyspray.spec:1.11	Sun Dec 11 20:37:49 2005
+++ SPECS/flyspray.spec	Wed Jan  4 15:07:56 2006
@@ -3,7 +3,7 @@
 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
@@ -12,7 +12,7 @@
 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
@@ -118,9 +118,7 @@
 
 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
@@ -145,6 +143,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2006/01/04 14:07:56  glen
+- use %service in trigger to respect skip auto restarts of services; rel 2
+
 Revision 1.11  2005/12/11 19:37:49  glen
 - rel 1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/flyspray.spec?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list