rpms/autofs/devel autofs.spec,1.182,1.183
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Fri Feb 9 08:09:44 UTC 2007
Author: ikent
Update of /cvs/dist/rpms/autofs/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv5698
Modified Files:
autofs.spec
Log Message:
- backou change to Requires(xxxxx) in favour of explicit utility names.
Index: autofs.spec
===================================================================
RCS file: /cvs/dist/rpms/autofs/devel/autofs.spec,v
retrieving revision 1.182
retrieving revision 1.183
diff -u -r1.182 -r1.183
--- autofs.spec 9 Feb 2007 04:43:16 -0000 1.182
+++ autofs.spec 9 Feb 2007 08:09:42 -0000 1.183
@@ -22,10 +22,10 @@
BuildRequires: autoconf, hesiod-devel, openldap-devel, bison, flex, libxml2-devel, cyrus-sasl-devel, openssl-devel
Conflicts: kernel < 2.6.17
Requires: bash mktemp sed gawk textutils sh-utils grep /bin/ps
-Requires(post): chkconfig
+Requires(post): /sbin/chkconfig
Requires(preun): /sbin/service
Requires(postun): /sbin/service
-Requires(postun): chkconfig
+Requires(postun): /sbin/chkconfig
Obsoletes: autofs-ldap
Summary(de): autofs daemon
Summary(fr): démon autofs
@@ -93,7 +93,7 @@
rm -rf $RPM_BUILD_ROOT
%post
-chkconfig --add autofs
+/sbin/chkconfig --add autofs
%postun
if [ $1 -ge 1 ] ; then
@@ -103,7 +103,7 @@
%preun
if [ "$1" = 0 ] ; then
/sbin/service autofs stop > /dev/null 2>&1 || :
- chkconfig --del autofs
+ /sbin/chkconfig --del autofs
fi
%files
@@ -125,8 +125,6 @@
- make use of spaces and tabs in spec file consistent.
- escape embedded macro text in %%changelog.
- eliminate redundant %%version and %%release.
-- remove directory component from entries in Requires: and
- scriplets where possible.
- remove redundant conditional check from %%clean.
- remove redundant exit from %%preun.
- correct %%defattr spec.
More information about the fedora-cvs-commits
mailing list