On Mon, Mar 6, 2017 at 3:46 PM, Leif Madsen <[email protected]> wrote:

> On CentOS, the package names aren't prefixed with python2, but rather
> are prefixed with simply python. This change addresses that and fixes
> up some documentation that was outdated, and updates the Vagrantfile
> to use the proper spec file and package names.
>

I added a Fixes header to the commit message:

Fixes: bb1a7ca21107 ("fedora: Add python3-openvswitch split package")


> Signed-off-by: Leif Madsen <[email protected]>
> ---
>  Documentation/intro/install/fedora.rst |  4 +--
>  Vagrantfile                            |  6 ++--
>  rhel/openvswitch-fedora.spec.in        | 54
> ++++++++++++++++++++++++----------
>  3 files changed, 44 insertions(+), 20 deletions(-)


Thanks for the patch!  I applied this to master and branch-2.7 with the
following incremental changes.

diff --git a/AUTHORS.rst b/AUTHORS.rst
index 39a5f40..bc06f3a 100644
--- a/AUTHORS.rst
+++ b/AUTHORS.rst
@@ -183,6 +183,7 @@ Kyle Upton
[email protected]
 Lance Richardson                [email protected]
 Lars Kellogg-Stedman            [email protected]
 Lei Huang                       [email protected]
+Leif Madsen                     [email protected]
 Leo Alterman                    [email protected]
 Lilijun                         [email protected]
 Linda Sun                       [email protected]
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/
openvswitch-fedora.spec.in
index 09d4f37..2d14660 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitch-fedora.spec.in
@@ -28,7 +28,9 @@
 %bcond_without libcapng
 # To enable DPDK support, specify '--with dpdk' when building
 %bcond_with dpdk
-# Enable Python 3 building when distribution not default supported
+# Enable Python 3 by specifying '--with build_python3'.
+# This is enabled by default for versions of the distribution that
+# have Python 3 by default (Fedora > 22).
 %bcond_with build_python3

 # Enable PIE, bz#955181
@@ -584,7 +586,5 @@ fi
 %{_unitdir}/ovn-controller-vtep.service

 %changelog
-* Mon Mar 06 2017 Leif Madsen <[email protected]>
-- Update compatibility issues with building Python 2 and 3 submodules
 * Wed Jan 12 2011 Ralf Spenneberg <[email protected]>
 - First build on F14
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to