SPECS: phpPgAdmin.spec - use %service in trigger to respect skip a...
glen
glen at pld-linux.org
Wed Jan 4 15:02:45 CET 2006
Author: glen Date: Wed Jan 4 14:02:45 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use %service in trigger to respect skip auto restarts of services; rel 3
---- Files affected:
SPECS:
phpPgAdmin.spec (1.55 -> 1.56)
---- Diffs:
================================================================
Index: SPECS/phpPgAdmin.spec
diff -u SPECS/phpPgAdmin.spec:1.55 SPECS/phpPgAdmin.spec:1.56
--- SPECS/phpPgAdmin.spec:1.55 Tue Jan 3 11:08:19 2006
+++ SPECS/phpPgAdmin.spec Wed Jan 4 15:02:40 2006
@@ -6,7 +6,7 @@
Summary(pl): phpPgAdmin - administracja bazami PostgreSQL przez WWW
Name: phpPgAdmin
Version: 4.0.1
-Release: 2
+Release: 3
License: GPL v2+
Group: Applications/Databases/Interfaces
Source0: http://dl.sourceforge.net/phppgadmin/%{name}-%{version}.tar.bz2
@@ -14,7 +14,7 @@
Source1: %{name}-apache.conf
Patch0: %{name}-config.patch
URL: http://phppgadmin.sourceforge.net/
-BuildRequires: rpmbuild(macros) >= 1.264
+BuildRequires: rpmbuild(macros) >= 1.268
Requires(triggerpostun): sed >= 4.0
Requires: php >= 3:4.1
Requires: php-pcre
@@ -131,14 +131,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
%clean
@@ -162,6 +158,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.56 2006/01/04 14:02:40 glen
+- use %service in trigger to respect skip auto restarts of services; rel 3
+
Revision 1.55 2006/01/03 10:08:19 glen
- updated apache config to allow from all; rel 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/phpPgAdmin.spec?r1=1.55&r2=1.56&f=u
More information about the pld-cvs-commit
mailing list