Blame SOURCES/autofs-5.0.7-fix-requires-in-spec-file.patch

306fa1
autofs-5.0.7 - fix requires in spec file
306fa1
306fa1
From: Ian Kent <raven@themaw.net>
306fa1
306fa1
Fix the use of depricated reqires in tar spec file.
306fa1
---
306fa1
 CHANGELOG   |    1 +
306fa1
 autofs.spec |    4 ++--
306fa1
 2 files changed, 3 insertions(+), 2 deletions(-)
306fa1
306fa1
diff --git a/CHANGELOG b/CHANGELOG
306fa1
index 247d334..e848bcd 100644
306fa1
--- a/CHANGELOG
306fa1
+++ b/CHANGELOG
306fa1
@@ -33,6 +33,7 @@
306fa1
 - fix file descriptor leak when reloading the daemon.
306fa1
 - depricate nosymlink pseudo option.
306fa1
 - add symlink pseudo option.
306fa1
+- fix requires in spec file.
306fa1
 
306fa1
 25/07/2012 autofs-5.0.7
306fa1
 =======================
306fa1
diff --git a/autofs.spec b/autofs.spec
306fa1
index b8a3b7a..703f7a9 100644
306fa1
--- a/autofs.spec
306fa1
+++ b/autofs.spec
306fa1
@@ -25,8 +25,8 @@ Buildroot: %{_tmppath}/%{name}-tmp
306fa1
 %if %{with_systemd}
306fa1
 BuildRequires: systemd-units
306fa1
 %endif
306fa1
-BuildPrereq: autoconf, hesiod-devel, openldap-devel, bison, flex, cyrus-sasl-devel
306fa1
-Prereq: chkconfig
306fa1
+BuildRequires: autoconf, hesiod-devel, openldap-devel, bison, flex, cyrus-sasl-devel
306fa1
+Requires: chkconfig
306fa1
 Requires: /bin/bash mktemp sed textutils sh-utils grep /bin/ps
306fa1
 %if %{with_systemd}
306fa1
 Requires(post): systemd-sysv