diff options
| author | Martin Winter <mwinter@opensourcerouting.org> | 2017-04-13 17:34:26 -0700 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-06-06 14:31:35 -0400 |
| commit | 52134ac67cbb73a7eeb35d86c3b305d1d3049c7b (patch) | |
| tree | f639d9dd36ffd98ab73d156e1b7b1215aa6ab8cb | |
| parent | 167a5efe3c1f330f2b35e1827b8f219dd70e0112 (diff) | |
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>
| -rw-r--r-- | redhat/frr.spec.in | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/redhat/frr.spec.in b/redhat/frr.spec.in index 6a3c75aacb..4d213fbb8e 100644 --- a/redhat/frr.spec.in +++ b/redhat/frr.spec.in @@ -151,6 +151,14 @@ Group: System Environment/Daemons %description contrib 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 Summary: Header and object files for frr development Group: System Environment/Daemons @@ -525,9 +533,6 @@ rm -rf %{buildroot} %{_sbindir}/bgpd %{_sbindir}/ssd %{_sbindir}/frr -%{_sbindir}/frr-reload.py -%{_sbindir}/frr-reload.pyc -%{_sbindir}/frr-reload.pyo %if %{with_watchfrr} %{_sbindir}/watchfrr %endif @@ -577,6 +582,12 @@ rm -rf %{buildroot} %defattr(-,root,root) %doc tools +%files pythontools +%defattr(-,root,root) +%{_sbindir}/frr-reload.py +%{_sbindir}/frr-reload.pyc +%{_sbindir}/frr-reload.pyo + %files devel %defattr(-,root,root) %if %{with_ospfclient} |
