SPECS: lstat.spec - use %service in trigger to respect skip auto r...

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


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

---- Files affected:
SPECS:
   lstat.spec (1.61 -> 1.62) 

---- Diffs:

================================================================
Index: SPECS/lstat.spec
diff -u SPECS/lstat.spec:1.61 SPECS/lstat.spec:1.62
--- SPECS/lstat.spec:1.61	Wed Jan  4 15:11:33 2006
+++ SPECS/lstat.spec	Wed Jan  4 15:12:47 2006
@@ -5,13 +5,12 @@
 # - make .htaccess files in /etc/lstat and symlink them into proper places...
 # - /usr/share/lstat/statimg should be in /var?
 # - /en/ docs in .pl?
-#
 %include	/usr/lib/rpm/macros.perl
 Summary:	LinuxStat is for generating and displaying different statistics
 Summary(pl):	LinuxStat służy do generowania i prezentacji różnych statystyk
 Name:		lstat
 Version:	2.3.2
-Release:	10.6
+Release:	11
 Epoch:		1
 License:	GPL
 Group:		Applications/Networking
@@ -28,6 +27,7 @@
 BuildRequires:	perl-base
 BuildRequires:	perl-rrdtool
 BuildRequires:	rpm-perlprov
+BuildRequires:	rpmbuild(macros) >= 1.268
 BuildRequires:	sed >= 4.0
 Requires(post,preun):	/sbin/chkconfig
 BuildArch:	noarch
@@ -191,9 +191,7 @@
 	mv -f /etc/httpd/httpd.conf/lstat.conf.rpmsave %{_httpdconf}/httpd.conf
 fi
 
-if [ -f /var/lock/subsys/httpd ]; then
-	/etc/rc.d/init.d/httpd reload 1>&2
-fi
+%service httpd reload
 
 %files
 %defattr(644,root,root,755)
@@ -238,6 +236,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.62  2006/01/04 14:12:47  glen
+- use %service in trigger to respect skip auto restarts of services
+- rel 11
+
 Revision 1.61  2006/01/04 14:11:33  glen
 - Suggests instead of requires for the future
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/lstat.spec?r1=1.61&r2=1.62&f=u



More information about the pld-cvs-commit mailing list