Add openvswitch-testcontroller subpackage since it's required by mininet

Resolves: #1914605
f38
Timothy Redaelli 4 years ago
parent 32ecf6a543
commit 5d8fc70d06

@ -45,7 +45,7 @@ Name: openvswitch
Summary: Open vSwitch daemon/database/utilities Summary: Open vSwitch daemon/database/utilities
URL: http://www.openvswitch.org/ URL: http://www.openvswitch.org/
Version: 2.15.0 Version: 2.15.0
Release: 3%{?commit0:.%{date}git%{shortcommit0}}%{?dist} Release: 4%{?commit0:.%{date}git%{shortcommit0}}%{?dist}
# Nearly all of openvswitch is ASL 2.0. The bugtool is LGPLv2+, and the # Nearly all of openvswitch is ASL 2.0. The bugtool is LGPLv2+, and the
# lib/sflow*.[ch] files are SISSL # lib/sflow*.[ch] files are SISSL
@ -139,6 +139,17 @@ Requires: python3-openvswitch = %{?epoch:%{epoch}:}%{version}-%{release}
Utilities that are useful to diagnose performance and connectivity Utilities that are useful to diagnose performance and connectivity
issues in Open vSwitch setup. issues in Open vSwitch setup.
%package testcontroller
Summary: Simple controller for testing OpenFlow setups
License: ASL 2.0
Requires: openvswitch = %{?epoch:%{epoch}:}%{version}-%{release}
%description testcontroller
This controller enables OpenFlow switches that connect to it to act as
MAC-learning Ethernet switches.
It can be used for initial testing of OpenFlow networks.
It is not a necessary or desirable part of a production OpenFlow deployment.
%package devel %package devel
Summary: Open vSwitch OpenFlow development package (library, headers) Summary: Open vSwitch OpenFlow development package (library, headers)
License: ASL 2.0 License: ASL 2.0
@ -276,10 +287,8 @@ touch $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/system-id.conf
rm -f $RPM_BUILD_ROOT/%{_bindir}/ovs-benchmark \ rm -f $RPM_BUILD_ROOT/%{_bindir}/ovs-benchmark \
$RPM_BUILD_ROOT/%{_bindir}/ovs-docker \ $RPM_BUILD_ROOT/%{_bindir}/ovs-docker \
$RPM_BUILD_ROOT/%{_bindir}/ovs-parse-backtrace \ $RPM_BUILD_ROOT/%{_bindir}/ovs-parse-backtrace \
$RPM_BUILD_ROOT/%{_bindir}/ovs-testcontroller \
$RPM_BUILD_ROOT/%{_sbindir}/ovs-vlan-bug-workaround \ $RPM_BUILD_ROOT/%{_sbindir}/ovs-vlan-bug-workaround \
$RPM_BUILD_ROOT/%{_mandir}/man1/ovs-benchmark.1* \ $RPM_BUILD_ROOT/%{_mandir}/man1/ovs-benchmark.1* \
$RPM_BUILD_ROOT/%{_mandir}/man8/ovs-testcontroller.* \
$RPM_BUILD_ROOT/%{_mandir}/man8/ovs-vlan-bug-workaround.8* $RPM_BUILD_ROOT/%{_mandir}/man8/ovs-vlan-bug-workaround.8*
# remove ovn unpackages files # remove ovn unpackages files
@ -379,6 +388,10 @@ chown -R openvswitch:openvswitch /etc/openvswitch
%{_mandir}/man8/ovs-l3ping.8* %{_mandir}/man8/ovs-l3ping.8*
%{python3_sitelib}/ovstest %{python3_sitelib}/ovstest
%files testcontroller
%{_bindir}/ovs-testcontroller
%{_mandir}/man8/ovs-testcontroller.8*
%files devel %files devel
%{_libdir}/*.so %{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
@ -472,6 +485,9 @@ chown -R openvswitch:openvswitch /etc/openvswitch
%endif %endif
%changelog %changelog
* Tue Feb 23 2021 Timothy Redaelli <tredaelli@redhat.com> - 2.15.0-4
- Add openvswitch-testcontroller subpackage since it's required by mininet (#1914605)
* Mon Feb 22 2021 Timothy Redaelli <tredaelli@redhat.com> - 2.15.0-3 * Mon Feb 22 2021 Timothy Redaelli <tredaelli@redhat.com> - 2.15.0-3
- Add python3-sortedcontainers as dependency (#1926202) - Add python3-sortedcontainers as dependency (#1926202)

Loading…
Cancel
Save