mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 20:27:03 +00:00
redhat: don't Requires initscript on systemd based distros
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
This commit is contained in:
parent
772d418a8b
commit
ec59a1559c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user