rpms/autofs/FC-6 autofs.spec,1.164,1.165

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Jan 10 04:55:00 UTC 2007


Author: ikent

Update of /cvs/dist/rpms/autofs/FC-6
In directory cvs.devel.redhat.com:/tmp/cvs-serv14339

Modified Files:
	autofs.spec 
Log Message:
* Tue Jan 10 2007 Ian Kent <ikent at redhat.com> - 5.0.1-0.rc3.4
- remove fullstop from Summary tag.
- change Buildroot to recommended form.
- replace Prereq with Requires.



Index: autofs.spec
===================================================================
RCS file: /cvs/dist/rpms/autofs/FC-6/autofs.spec,v
retrieving revision 1.164
retrieving revision 1.165
diff -u -r1.164 -r1.165
--- autofs.spec	9 Jan 2007 08:15:29 -0000	1.164
+++ autofs.spec	10 Jan 2007 04:54:58 -0000	1.165
@@ -1,10 +1,10 @@
 #
 # $Id$
 #
-Summary: A tool for automatically mounting and unmounting filesystems.
+Summary: A tool for automatically mounting and unmounting filesystems
 Name: autofs
 %define version 5.0.1
-%define release 0.rc3.2
+%define release 0.rc3.4
 Version: %{version}
 Release: %{release}
 Epoch: 1
@@ -13,11 +13,14 @@
 Source: ftp://ftp.kernel.org/pub/linux/daemons/autofs/v5/autofs-%{version}-rc3.tar.bz2
 Patch1: autofs-5.0.1-rc3-fix-typo-rmdir-temp.patch
 Patch2: autofs-5.0.1-rc3-remove-rpath-link-option.patch
-Buildroot: /var/tmp/autofs-tmp
+Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: autoconf, hesiod-devel, openldap-devel, bison, flex, libxml2-devel, cyrus-sasl-devel, openssl-devel
-Prereq: chkconfig
 Conflicts: kernel < 2.6.17
 Requires: /bin/bash mktemp sed gawk textutils sh-utils grep /bin/ps
+Requires(post): /sbin/chkconfig
+Requires(preun): /sbin/service
+Requires(postun): /sbin/service
+Requires(postun): /sbin/chkconfig
 Obsoletes: autofs-ldap
 Summary(de): autofs daemon 
 Summary(fr): démon autofs
@@ -78,7 +81,7 @@
 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
 
 %post
-chkconfig --add autofs
+/sbin/chkconfig --add autofs
 
 %postun
 if [ $1 -ge 1 ] ; then
@@ -110,6 +113,11 @@
 %{_libdir}/autofs/*
 
 %changelog
+* Tue Jan 10 2007 Ian Kent <ikent at redhat.com> - 5.0.1-0.rc3.4
+- remove fullstop from Summary tag.
+- change Buildroot to recommended form.
+- replace Prereq with Requires.
+
 * Tue Jan 9 2007 Ian Kent <ikent at redhat.com> - 5.0.1-0.rc3.2
 - consolidate to rc3.
 - fix typo in Fix typo in var when removing temp directory (bz 221847).




More information about the fedora-cvs-commits mailing list