From db8dcbaf1c57efb1fbd29cee598a6a84a2a5f9ec Mon Sep 17 00:00:00 2001 From: Leif Madsen Date: Mon, 6 Mar 2017 15:46:43 -0500 Subject: packaging: Make Fedora spec file CentOS compatible 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. Fixes: bb1a7ca21107 ("fedora: Add python3-openvswitch split package") Signed-off-by: Leif Madsen Signed-off-by: Russell Bryant --- AUTHORS.rst | 1 + Documentation/intro/install/fedora.rst | 4 +-- Vagrantfile | 6 ++-- rhel/openvswitch-fedora.spec.in | 54 ++++++++++++++++++++++++---------- 4 files changed, 45 insertions(+), 20 deletions(-) diff --git a/AUTHORS.rst b/AUTHORS.rst index 39a5f40f8..bc06f3abc 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -183,6 +183,7 @@ Kyle Upton kupton@baymicrosystems.com Lance Richardson lrichard@redhat.com Lars Kellogg-Stedman lars@redhat.com Lei Huang huang.f.lei@gmail.com +Leif Madsen lmadsen@redhat.com Leo Alterman lalterman@nicira.com Lilijun jerry.lilijun@huawei.com Linda Sun lsun@vmware.com diff --git a/Documentation/intro/install/fedora.rst b/Documentation/intro/install/fedora.rst index 0ecd255d1..ffc77a429 100644 --- a/Documentation/intro/install/fedora.rst +++ b/Documentation/intro/install/fedora.rst @@ -42,8 +42,8 @@ in the :doc:`general`. Specific packages (by package name) include: - rpm-build - autoconf automake libtool - systemd-units openssl openssl-devel -- python-devel python3-devel -- python python-twisted-core python-zope-interface python-six +- python2-devel python3-devel +- python2 python2-twisted python2-zope-interface python2-six - desktop-file-utils - groff graphviz - procps-ng diff --git a/Vagrantfile b/Vagrantfile index 5296279e7..28e9219b8 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -9,7 +9,7 @@ $bootstrap_fedora = <