[ovs-dev] [PATCH ovn] rhel: Fix make rpm-fedora by unified sphinx

Tao YunXiang taoyunxiang at cmss.chinamobile.com
Wed Mar 4 02:26:24 UTC 2020

If OVS>=2.13, we need '/usr/bin/sphinx-build-3' to bulid[0]. So it could be
better to unify the version of "sphinx-build" between OVS and OVN, to avoid
erros during make.

[0] https://github.com/openvswitch/ovs/blob/master/rhel/openvswitch-fedora.spec.in#L65

Co-authored-by: Liu Chang <liuchang at cmss.chinamobile.com>
Co-authored-by: Rong Yin <rongyin at cmss.chinamobile.com>
Signed-off-by: Tao YunXiang <taoyunxiang at cmss.chinamobile.com>
Signed-off-by: Liu Chang <liuchang at cmss.chinamobile.com>
Signed-off-by: Rong Yin <rongyin at cmss.chinamobile.com>

 rhel/ovn-fedora.spec.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rhel/ovn-fedora.spec.in b/rhel/ovn-fedora.spec.in
index 6a59ccc40..421d83869 100644
--- a/rhel/ovn-fedora.spec.in
+++ b/rhel/ovn-fedora.spec.in
@@ -50,7 +50,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: procps-ng
 %if %{with libcapng}

More information about the dev mailing list