[ovs-dev] [PATCH] rhel: Fix sphinx BuildRequires on Fedora Rawhide
Timothy Redaelli
tredaelli at redhat.com
Fri Mar 22 18:45:46 UTC 2019
On Fedora Rawhide only python3-sphinx is available, but currently
python2-sphinx is used.
This commit changes the BuildRequires for sphinx to use
/usr/bin/sphinx-build directly instead of python2-sphinx in order to make
it work on current Fedora Rawhide too.
Signed-off-by: Timothy Redaelli <tredaelli at redhat.com>
---
rhel/openvswitch-fedora.spec.in | 2 +-
rhel/ovn-fedora.spec.in | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index eec98485f..198a48de7 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitch-fedora.spec.in
@@ -76,7 +76,7 @@ BuildRequires: python3-devel
BuildRequires: desktop-file-utils
BuildRequires: groff graphviz
BuildRequires: checkpolicy, selinux-policy-devel
-BuildRequires: %{_py2}-sphinx
+BuildRequires: /usr/bin/sphinx-build
# make check dependencies
BuildRequires: %{_py2}-twisted%{?rhel:-core} %{_py2}-zope-interface %{_py2}-six
BuildRequires: procps-ng
diff --git a/rhel/ovn-fedora.spec.in b/rhel/ovn-fedora.spec.in
index ea44e49cc..8940d0581 100644
--- a/rhel/ovn-fedora.spec.in
+++ b/rhel/ovn-fedora.spec.in
@@ -62,7 +62,7 @@ BuildRequires: python3-devel
BuildRequires: desktop-file-utils
BuildRequires: groff graphviz
BuildRequires: checkpolicy, selinux-policy-devel
-BuildRequires: %{_py2}-sphinx
+BuildRequires: /usr/bin/sphinx-build
# make check dependencies
BuildRequires: %{_py2}-twisted%{?rhel:-core} %{_py2}-zope-interface %{_py2}-six
BuildRequires: procps-ng
--
2.20.1
More information about the dev
mailing list