[phpPgAdmin/f15/master] - Require initscripts, instead of /sbin/service

Devrim GÜNDÜZ devrim at fedoraproject.org
Wed Apr 27 02:18:50 UTC 2011


commit ccacf98f802a5ced5cf6527776e87a02c0361f3a
Author: Devrim GÜNDÜZ <devrim at gunduz.org>
Date:   Wed Apr 27 05:18:40 2011 +0300

    - Require initscripts, instead of /sbin/service

 phpPgAdmin.spec |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/phpPgAdmin.spec b/phpPgAdmin.spec
index d173f32..432b49d 100644
--- a/phpPgAdmin.spec
+++ b/phpPgAdmin.spec
@@ -12,7 +12,9 @@ Source1:	%{name}.conf
 
 Requires:	php >= 4.2, gawk
 Requires:	php-pgsql >= 4.2, httpd
-Requires(Post):	/sbin/service
+# This is for /sbin/service
+Requires(preun):        initscripts
+Requires(postun):	initscripts
 Buildarch:	noarch
 
 %define		_phppgadmindir	%{_datadir}/%{name}
@@ -87,6 +89,7 @@ rm -rf %{buildroot}
 %changelog
 * Wed Apr 27 2011 Devrim Gunduz <devrim at gunduz.org> 5.0.2-1
 - Update to 5.0.2, which also fixes bz #689394
+- Require initscripts, instead of /sbin/service
 
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org>
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild


More information about the scm-commits mailing list