summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--redhat/frr.spec.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/redhat/frr.spec.in b/redhat/frr.spec.in
index 9aa46bbbc1..92fca3d357 100644
--- a/redhat/frr.spec.in
+++ b/redhat/frr.spec.in
@@ -155,7 +155,6 @@ BuildRequires: python27-devel python27-sphinx
%else
BuildRequires: python-devel >= 2.7 python-sphinx
%endif
-Requires: initscripts
%if %{with_pam}
BuildRequires: pam-devel
%endif
@@ -172,6 +171,7 @@ Requires(post): chkconfig
Requires(preun): chkconfig
# Initscripts > 5.60 is required for IPv6 support
Requires(pre): initscripts >= 5.60
+Requires: initscripts
%endif
Provides: routingdaemon = %{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root