#14 Including ovs-testcontroller in the package openvswitch-devel
Opened a year ago by adrianomarto. Modified a year ago
rpms/ adrianomarto/openvswitch f32  into  f32

file modified
+7 -7
@@ -45,7 +45,7 @@ 

  Summary: Open vSwitch daemon/database/utilities

  URL: http://www.openvswitch.org/

  Version: 2.13.1

- Release: 2%{?commit0:.%{date}git%{shortcommit0}}%{?dist}

+ Release: 3%{?commit0:.%{date}git%{shortcommit0}}%{?dist}

  

  # Nearly all of openvswitch is ASL 2.0.  The bugtool is LGPLv2+, and the

  # lib/sflow*.[ch] files are SISSL
@@ -284,12 +284,7 @@ 

  # remove unpackaged files

  rm -f $RPM_BUILD_ROOT/%{_bindir}/ovs-benchmark \

          $RPM_BUILD_ROOT/%{_bindir}/ovs-docker \

-         $RPM_BUILD_ROOT/%{_bindir}/ovs-parse-backtrace \

-         $RPM_BUILD_ROOT/%{_bindir}/ovs-testcontroller \

-         $RPM_BUILD_ROOT/%{_sbindir}/ovs-vlan-bug-workaround \

-         $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/%{_bindir}/ovs-parse-backtrace

  

  # remove ovn unpackages files

  rm -f $RPM_BUILD_ROOT%{_bindir}/ovn*
@@ -389,6 +384,7 @@ 

  %{python3_sitelib}/ovstest

  

  %files devel

+ %{_bindir}/ovs-testcontroller

  %{_libdir}/*.so

  %{_libdir}/pkgconfig/*.pc

  %{_includedir}/openvswitch/*
@@ -460,6 +456,7 @@ 

  %{_mandir}/man8/ovs-kmod-ctl.8.*

  %{_mandir}/man8/ovs-ofctl.8*

  %{_mandir}/man8/ovs-pki.8*

+ %{_mandir}/man8/ovs-testcontroller.8*

  %{_mandir}/man8/ovs-vsctl.8*

  %{_mandir}/man8/ovs-vswitchd.8*

  %{_mandir}/man8/ovs-parse-backtrace.8*
@@ -480,6 +477,9 @@ 

  %endif

  

  %changelog

+ * Tue 12 Jan 2021 Adriano Marto Reis <adrianomarto@gmail.com> - 2.13.1-3

+ - Including ovs-testcontroller in the package openvswitch-devel

+ 

  * Thu Nov 19 2020 Timothy Redaelli <tredaelli@redhat.com> - 2.13.1-2

  - Backport patches for CVE-2015-8011 (#1899303)

  

The tool ovs-testcontroller is useful for development and testing. I included it in the package openvswitch-devel, as it might not be desirable to have the tool in a production deployment.

https://bugzilla.redhat.com/show_bug.cgi?id=1914605