diff --git a/autofs.spec b/autofs.spec index 9cbf3bf..f57c434 100644 --- a/autofs.spec +++ b/autofs.spec @@ -1,7 +1,7 @@ # # $Id: autofs.spec,v 1.11 2003/12/04 15:41:32 raven Exp $ # -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.3 @@ -13,11 +13,14 @@ Group: System Environment/Daemons 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 @@ install -m 644 redhat/autofs.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/autofs [ "$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 @@ exit 0 %{_libdir}/autofs/* %changelog +* Tue Jan 10 2007 Ian Kent - 5.0.1-0.rc3.5 +- remove fullstop from Summary tag. +- change Buildroot to recommended form. +- replace Prereq with Requires. + * Tue Jan 9 2007 Ian Kent - 5.0.1-0.rc3.3 - remove redundant rpath link option (prep for move to Extras).