]> git.puffer.fish Git - matthieu/frr.git/commitdiff
redhat: don't Requires initscript on systemd based distros
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 20 Jun 2018 13:27:10 +0000 (15:27 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Thu, 21 Jun 2018 15:03:29 +0000 (17:03 +0200)
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
redhat/frr.spec.in

index 9aa46bbbc1eec2f9261f5d2ff1beace97c4940b7..92fca3d35750c4ac4d3d0738c5176c7df6f408af 100644 (file)
@@ -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