SPECS: phpSysInfo.spec - use %service; rel 4

glen glen at pld-linux.org
Fri May 19 23:41:18 CEST 2006


Author: glen                         Date: Fri May 19 21:41:18 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use %service; rel 4

---- Files affected:
SPECS:
   phpSysInfo.spec (1.23 -> 1.24) 

---- Diffs:

================================================================
Index: SPECS/phpSysInfo.spec
diff -u SPECS/phpSysInfo.spec:1.23 SPECS/phpSysInfo.spec:1.24
--- SPECS/phpSysInfo.spec:1.23	Fri Feb  3 17:52:38 2006
+++ SPECS/phpSysInfo.spec	Fri May 19 23:41:13 2006
@@ -3,7 +3,7 @@
 Summary(pl):	phpSysInfo jest skryptem PHP wyświetlającym informacje o wywołanym hoscie
 Name:		phpSysInfo
 Version:	2.5.1
-Release:	3
+Release:	4
 License:	GPL
 Group:		Applications/WWW
 Source0:	http://dl.sourceforge.net/phpsysinfo/phpsysinfo-%{version}.tar.gz
@@ -13,7 +13,7 @@
 Source3:	%{name}-lighttpd.conf
 Patch0:		%{name}-PLD.patch
 URL:		http://phpsysinfo.sourceforge.net/
-BuildRequires:	rpmbuild(macros) >= 1.264
+BuildRequires:	rpmbuild(macros) >= 1.268
 Requires:	issue
 Requires:	php
 Requires:	php-pcre
@@ -105,9 +105,7 @@
 
 rm -f /etc/httpd/httpd.conf/99_%{name}.conf
 /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
 
 %files
 %defattr(644,root,root,755)
@@ -131,6 +129,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.24  2006/05/19 21:41:13  glen
+- use %service; rel 4
+
 Revision 1.23  2006/02/03 16:52:38  baggins
 - release 3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/phpSysInfo.spec?r1=1.23&r2=1.24&f=u



More information about the pld-cvs-commit mailing list