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

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