- remove fullstop from Summary tag.
- change Buildroot to recommended form. - replace Prereq with Requires.
This commit is contained in:
parent
d82703d0a2
commit
2e59efde9e
16
autofs.spec
16
autofs.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# $Id: autofs.spec,v 1.11 2003/12/04 15:41:32 raven Exp $
|
# $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
|
Name: autofs
|
||||||
%define version 5.0.1
|
%define version 5.0.1
|
||||||
%define release 0.rc3.3
|
%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
|
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
|
Patch1: autofs-5.0.1-rc3-fix-typo-rmdir-temp.patch
|
||||||
Patch2: autofs-5.0.1-rc3-remove-rpath-link-option.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
|
BuildRequires: autoconf, hesiod-devel, openldap-devel, bison, flex, libxml2-devel, cyrus-sasl-devel, openssl-devel
|
||||||
Prereq: chkconfig
|
|
||||||
Conflicts: kernel < 2.6.17
|
Conflicts: kernel < 2.6.17
|
||||||
Requires: /bin/bash mktemp sed gawk textutils sh-utils grep /bin/ps
|
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
|
Obsoletes: autofs-ldap
|
||||||
Summary(de): autofs daemon
|
Summary(de): autofs daemon
|
||||||
Summary(fr): démon autofs
|
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
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post
|
%post
|
||||||
chkconfig --add autofs
|
/sbin/chkconfig --add autofs
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
if [ $1 -ge 1 ] ; then
|
if [ $1 -ge 1 ] ; then
|
||||||
@ -110,6 +113,11 @@ exit 0
|
|||||||
%{_libdir}/autofs/*
|
%{_libdir}/autofs/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 10 2007 Ian Kent <ikent@redhat.com> - 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 <ikent@redhat.com> - 5.0.1-0.rc3.3
|
* Tue Jan 9 2007 Ian Kent <ikent@redhat.com> - 5.0.1-0.rc3.3
|
||||||
- remove redundant rpath link option (prep for move to Extras).
|
- remove redundant rpath link option (prep for move to Extras).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user