[chrony/f14/master] use package names in scriptlet requirements

Miroslav Lichvar mlichvar at fedoraproject.org
Thu May 5 12:46:01 UTC 2011


commit 6b816e5a7ac85f19e03c278c78d0c494a1333179
Author: Miroslav Lichvar <mlichvar at redhat.com>
Date:   Mon Jan 31 18:06:42 2011 +0100

    use package names in scriptlet requirements

 chrony.spec |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/chrony.spec b/chrony.spec
index 5f322c6..21bc6f6 100644
--- a/chrony.spec
+++ b/chrony.spec
@@ -24,9 +24,9 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  libcap-devel libedit-devel bison texinfo
 
 Requires(pre):  shadow-utils
-Requires(post): /sbin/chkconfig /sbin/install-info
-Requires(preun): /sbin/chkconfig /sbin/service /sbin/install-info
-Requires(postun): /sbin/service
+Requires(post): chkconfig info
+Requires(preun): chkconfig initscripts info
+Requires(postun): initscripts
 
 %description
 A client/server for the Network Time Protocol, this program keeps your


More information about the scm-commits mailing list