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

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