diff options
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | 2018-06-20 15:27:10 +0200 |
---|---|---|
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | 2018-06-21 17:03:29 +0200 |
commit | ec59a1559cce612d04131639653eddf65d69e868 (patch) | |
tree | 9f91300bb1d382622991456ca73117a36062962a /redhat | |
parent | redhat: remove superfluous Requires for json-c (diff) | |
download | frr-ec59a1559cce612d04131639653eddf65d69e868.tar.xz frr-ec59a1559cce612d04131639653eddf65d69e868.zip |
redhat: don't Requires initscript on systemd based distros
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
Diffstat (limited to 'redhat')
-rw-r--r-- | redhat/frr.spec.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redhat/frr.spec.in b/redhat/frr.spec.in index 9aa46bbbc..92fca3d35 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 |