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

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


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

---- Files affected:
SPECS:
   uebimiau.spec (1.44 -> 1.45) 

---- Diffs:

================================================================
Index: SPECS/uebimiau.spec
diff -u SPECS/uebimiau.spec:1.44 SPECS/uebimiau.spec:1.45
--- SPECS/uebimiau.spec:1.44	Sat Dec  3 22:31:53 2005
+++ SPECS/uebimiau.spec	Wed Jan  4 15:15:22 2006
@@ -4,7 +4,7 @@
 Name:		uebimiau
 Version:	2.7.8
 %define		_rc	RC1
-%define		_rel 4.5
+%define		_rel 5
 Release:	9.%{_rc}.%{_rel}
 License:	GPL
 Group:		Applications/Mail
@@ -17,7 +17,7 @@
 Patch4:		%{name}-focus.patch
 URL:		http://www.uebimiau.org/
 BuildRequires:	sed >= 4.1.1
-BuildRequires:	rpmbuild(macros) >= 1.264
+BuildRequires:	rpmbuild(macros) >= 1.268
 # BR: rpm - not for Ra where is wrong def. of %%{_sharedstatedir}.
 BuildRequires:	rpm >= 4.3
 Requires:	Smarty >= 2.6.10-3
@@ -192,14 +192,10 @@
 fi
 
 if [ "$httpd_reload" ]; then
-	if [ -f /var/lock/subsys/httpd ]; then
-		/etc/rc.d/init.d/httpd reload 1>&2
-	fi
+	%service httpd reload
 fi
 if [ "$apache_reload" ]; then
-	if [ -f /var/lock/subsys/apache ]; then
-		/etc/rc.d/init.d/apache reload 1>&2
-	fi
+	%service apache reload
 fi
 
 %files
@@ -229,6 +225,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.45  2006/01/04 14:15:22  glen
+- use %service in trigger to respect skip auto restarts of services
+- rel 5
+
 Revision 1.44  2005/12/03 21:31:53  glen
 - use webapps framework
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/uebimiau.spec?r1=1.44&r2=1.45&f=u



More information about the pld-cvs-commit mailing list