SPECS: verliadmin.spec - use %service; rel 6

glen glen at pld-linux.org
Fri May 19 23:33:01 CEST 2006


Author: glen                         Date: Fri May 19 21:33:01 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use %service; rel 6

---- Files affected:
SPECS:
   verliadmin.spec (1.21 -> 1.22) 

---- Diffs:

================================================================
Index: SPECS/verliadmin.spec
diff -u SPECS/verliadmin.spec:1.21 SPECS/verliadmin.spec:1.22
--- SPECS/verliadmin.spec:1.21	Mon Feb 27 08:50:24 2006
+++ SPECS/verliadmin.spec	Fri May 19 23:32:56 2006
@@ -3,7 +3,7 @@
 Summary(pl):	Interfejs PHP dla verlihub
 Name:		verliadmin
 Version:	0.3
-Release:	5
+Release:	6
 Epoch:		1
 License:	GPL
 Group:		Networking/Admin
@@ -11,7 +11,7 @@
 # Source0-md5:	6f39fd52150c6218dc20e115a65a08a4
 Patch0:		%{name}-lang.patch
 URL:		http://bohyn.czechweb.cz/
-BuildRequires:	rpmbuild(macros) >= 1.264
+BuildRequires:	rpmbuild(macros) >= 1.268
 BuildRequires:	sed >= 4.0
 BuildRequires:	unzip
 Requires:	php
@@ -120,15 +120,11 @@
 
 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 -q httpd reload
 fi
 if [ "$apache_reload" ]; then
 	/usr/sbin/webapp register apache %{_webapp}
-	if [ -f /var/lock/subsys/apache ]; then
-		/etc/rc.d/init.d/apache reload 1>&2
-	fi
+	%service -q apache reload
 fi
 
 %files
@@ -146,6 +142,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.22  2006/05/19 21:32:56  glen
+- use %service; rel 6
+
 Revision 1.21  2006/02/27 07:50:24  glen
 - vim ft unneccessary (our vim can autodetect now)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/verliadmin.spec?r1=1.21&r2=1.22&f=u



More information about the pld-cvs-commit mailing list