mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-30 04:55:57 +00:00
redhat: Move frr-reload python script to it's own sub package to avoid the python2 requirement for main frr package
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
This commit is contained in:
parent
167a5efe3c
commit
52134ac67c
@ -151,6 +151,14 @@ Group: System Environment/Daemons
|
|||||||
%description contrib
|
%description contrib
|
||||||
Contributed/3rd party tools which may be of use with frr.
|
Contributed/3rd party tools which may be of use with frr.
|
||||||
|
|
||||||
|
%package pythontools
|
||||||
|
Summary: python tools for frr
|
||||||
|
Requires: python >= 2.7 python-ipaddr
|
||||||
|
Group: System Environment/Daemons
|
||||||
|
|
||||||
|
%description pythontools
|
||||||
|
Contributed python 2.7 tools which may be of use with frr.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Header and object files for frr development
|
Summary: Header and object files for frr development
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
@ -525,9 +533,6 @@ rm -rf %{buildroot}
|
|||||||
%{_sbindir}/bgpd
|
%{_sbindir}/bgpd
|
||||||
%{_sbindir}/ssd
|
%{_sbindir}/ssd
|
||||||
%{_sbindir}/frr
|
%{_sbindir}/frr
|
||||||
%{_sbindir}/frr-reload.py
|
|
||||||
%{_sbindir}/frr-reload.pyc
|
|
||||||
%{_sbindir}/frr-reload.pyo
|
|
||||||
%if %{with_watchfrr}
|
%if %{with_watchfrr}
|
||||||
%{_sbindir}/watchfrr
|
%{_sbindir}/watchfrr
|
||||||
%endif
|
%endif
|
||||||
@ -577,6 +582,12 @@ rm -rf %{buildroot}
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc tools
|
%doc tools
|
||||||
|
|
||||||
|
%files pythontools
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_sbindir}/frr-reload.py
|
||||||
|
%{_sbindir}/frr-reload.pyc
|
||||||
|
%{_sbindir}/frr-reload.pyo
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%if %{with_ospfclient}
|
%if %{with_ospfclient}
|
||||||
|
Loading…
Reference in New Issue
Block a user