diff --git a/openvswitch.spec b/openvswitch.spec index 4d03a9a..085096d 100644 --- a/openvswitch.spec +++ b/openvswitch.spec @@ -1,21 +1,9 @@ %global _hardened_build 1 -# This provides a way for distros that doesn't provide -# python-twisted-conch to disable building of ovsdbmonitor -# by default. You can override by passing --with ovsdbmonitor -# or --without ovsdbmonitor while building the RPM. -%define _pkg_ovsdbmonitor 0 - -%if %{?_with_ovsdbmonitor: 1}%{!?_with_ovsdbmonitor: 0} -%define with_ovsdbmonitor 1 -%else -%define with_ovsdbmonitor %{?_without_ovsdbmonitor: 0}%{!?_without_ovsdbmonitor: %{_pkg_ovsdbmonitor}} -%endif - Name: openvswitch Version: 2.1.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Open vSwitch daemon/database/utilities # Nearly all of openvswitch is ASL 2.0. The bugtool is LGPLv2+, and the @@ -26,7 +14,6 @@ License: ASL 2.0 and LGPLv2+ and SISSL URL: http://openvswitch.org Source0: http://openvswitch.org/releases/%{name}-%{version}.tar.gz Source3: openvswitch.logrotate -Source6: ovsdbmonitor.desktop Source9: README.RHEL Patch1: openvswitch-fedora-package-fix-systemd-ordering-and-deps.patch @@ -40,9 +27,6 @@ BuildRequires: systemd-units openssl openssl-devel BuildRequires: python python-twisted-core python-zope-interface PyQt4 BuildRequires: desktop-file-utils BuildRequires: groff graphviz -%if %{with_ovsdbmonitor} -BuildRequires: python-twisted-conch -%endif Requires: openssl iproute module-init-tools Requires: kernel >= 3.15.0-0 @@ -66,21 +50,6 @@ Requires: python %description -n python-openvswitch Python bindings for the Open vSwitch database -%if %{with_ovsdbmonitor} -%package -n ovsdbmonitor -Summary: Open vSwitch graphical monitoring tool -License: ASL 2.0 -BuildArch: noarch -Requires: python-openvswitch = %{version}-%{release} -Requires: python python-twisted-core python-twisted-conch python-zope-interface PyQt4 - -%description -n ovsdbmonitor -A GUI tool for monitoring and troubleshooting local or remote Open -vSwitch installations. It presents GUI tables that graphically represent -an Open vSwitch kernel flow table (similar to "ovs-dpctl dump-flows") -and Open vSwitch database contents (similar to "ovs-vsctl list