[openvswitch/f17] package ovs-controller as separate openvswitch-controller (#815628)

Thomas Graf tgraf at fedoraproject.org
Wed Oct 10 09:50:42 UTC 2012


commit 70c56d16647c78e53e8d88857a9eee20b83bd4b1
Author: Thomas Graf <tgraf at suug.ch>
Date:   Fri Sep 7 12:37:16 2012 +0200

    package ovs-controller as separate openvswitch-controller (#815628)

 openvswitch.spec |   21 ++++++++++++++++++---
 1 files changed, 18 insertions(+), 3 deletions(-)
---
diff --git a/openvswitch.spec b/openvswitch.spec
index 8b47741..ff94abf 100644
--- a/openvswitch.spec
+++ b/openvswitch.spec
@@ -1,6 +1,6 @@
 Name:           openvswitch
 Version:        1.4.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Open vSwitch daemon/database/utilities
 
 # Nearly all of openvswitch is ASL 2.0.  The bugtool is LGPLv2+, and the
@@ -74,6 +74,16 @@ Requires:       python python-twisted-core python-twisted-web
 Utilities that are useful to diagnose performance and connectivity
 issues in Open vSwitch setup.
 
+%package controller
+Summary:        Open vSwitch OpenFlow controller
+License:        ASL 2.0
+Requires:       openvswitch = %{version}-%{release}
+
+%description controller
+Simple reference implementation of an OpenFlow controller for Open
+vSwitch. Manages any number of remote switches over OpenFlow protocol,
+causing them to function as L2 MAC-learning switches or hub.
+
 %prep
 %setup -q
 %patch0 -p1 -b .ovskmod
@@ -111,8 +121,6 @@ rmdir $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/
 
 # Get rid of stuff we don't want to make RPM happy.
 rm -f \
-    $RPM_BUILD_ROOT%{_bindir}/ovs-controller \
-    $RPM_BUILD_ROOT%{_mandir}/man8/ovs-controller.8 \
     $RPM_BUILD_ROOT%{_sbindir}/ovs-vlan-bug-workaround \
     $RPM_BUILD_ROOT%{_mandir}/man8/ovs-vlan-bug-workaround.8 \
     $RPM_BUILD_ROOT%{_sbindir}/ovs-brcompatd \
@@ -204,8 +212,15 @@ fi
 %{_mandir}/man8/ovs-vlan-test.8*
 %{python_sitelib}/ovstest
 
+%files controller
+%{_bindir}/ovs-controller
+%{_mandir}/man8/ovs-controller.8*
+
 
 %changelog
+* Fri Sep 10 2012 Thomas Graf <tgraf at redhat.com> - 1.4.2-2
+- add controller package containing ovs-controller
+
 * Fri Aug 17 2012 Tomas Hozza <thozza at redhat.com> - 1.4.2-1
 - Update to 1.4.2
 - Fixed openvswitch-rhel-initscripts-resync.patch so it fits on new sources.


More information about the scm-commits mailing list