]> git.proxmox.com Git - ovs.git/commitdiff
Recommend Sphinx from Python 3 in documentation and packaging.
authorBen Pfaff <blp@ovn.org>
Mon, 16 Sep 2019 19:05:36 +0000 (12:05 -0700)
committerBen Pfaff <blp@ovn.org>
Fri, 20 Sep 2019 15:34:34 +0000 (08:34 -0700)
Acked-by: Numan Siddique <nusididq@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
.travis.yml
Documentation/intro/install/documentation.rst
Documentation/intro/install/rhel.rst
build-aux/dpdkstrip.py
rhel/openvswitch-fedora.spec.in
rhel/openvswitch.spec.in

index 370b3d0a6c98a503f0f97735619e5a2a808abb28..68026312ba8405d0368c00eb0ac6227c93c5ac40 100644 (file)
@@ -20,7 +20,7 @@ addons:
       - libjemalloc1
       - libjemalloc-dev
       - libnuma-dev
-      - python-sphinx
+      - python3-sphinx
       - libelf-dev
       - selinux-policy-dev
       - libunbound-dev
index d7eb25d9ef06eb255db7d51833f77c7a132724d1..acf5b3a3ff334a526b4ce690d1a283637cc69ff5 100644 (file)
@@ -45,11 +45,11 @@ Sphinx. A detailed guide on installing Sphinx in many environments is available
 on the `Sphinx website`__ but, for most Linux distributions, you can install
 with your package manager. For example, on Debian/Ubuntu run::
 
-    $ sudo apt-get install python-sphinx
+    $ sudo apt-get install python3-sphinx
 
 Similarly, on RHEL/Fedora run::
 
-    $ sudo dnf install python-sphinx
+    $ sudo dnf install python3-sphinx
 
 A ``requirements.txt`` is also provided in the ``/Documentation``, should you
 wish to install using ``pip``::
@@ -71,7 +71,7 @@ available on the `Sphinx website`__.
 Building
 --------
 
-Once Sphinx installed, the documentation can be built using the provided
+Once Sphinx is installed, the documentation can be built using the provided
 Makefile targets::
 
     $ make docs-check
index 6f062e89446a64ffaf62a9de570196361ac26642..0e5ca2743ef517c1c64f3891071298f0a82c92e8 100644 (file)
@@ -89,7 +89,7 @@ And to install specific dependencies, use yum-builddep tool::
 
 Once that is completed, remove the file ``/tmp/ovs.spec``.
 
-If python-sphinx package is not available in your version of RHEL, you can
+If python3-sphinx package is not available in your version of RHEL, you can
 install it via pip with 'pip install sphinx'.
 
 Open vSwitch requires python 2.7 or newer which is not available in older
index 48c7f06934efaae40a046e8c3ec4476c35fd65b0..b8b8ba9c8a09dd66eb1ce9a57964a285d2e8b34d 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # Copyright (c) 2017 Red Hat, Inc.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
index 9c752ff4ed4ebafb66d8ce1b5c08b97917de0fa8..614c5f9f08ea8811dd59efb56520bfce85dd5fac 100644 (file)
@@ -79,7 +79,7 @@ BuildRequires: python3-devel
 BuildRequires: desktop-file-utils
 BuildRequires: groff graphviz
 BuildRequires: checkpolicy, selinux-policy-devel
-BuildRequires: /usr/bin/sphinx-build
+BuildRequires: /usr/bin/sphinx-build-3
 # make check dependencies
 BuildRequires: %{_py2}-twisted%{?rhel:-core} %{_py2}-zope-interface %{_py2}-six
 BuildRequires: procps-ng
index c8361f5f29ffbd10a7bc9cd09a64d442f386df13..7f27fedd688603db7954e79b496a6549f1571f69 100644 (file)
@@ -37,7 +37,7 @@ BuildRequires: python-six
 BuildRequires: openssl-devel
 BuildRequires: checkpolicy, selinux-policy-devel
 BuildRequires: autoconf, automake, libtool
-BuildRequires: python-sphinx
+BuildRequires: python3-sphinx
 BuildRequires: unbound-devel
 
 %bcond_without check