diff mbox series

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

Message ID 20200304022624.11790-1-taoyunxiang@cmss.chinamobile.com
State New
Headers show
Series [ovs-dev,ovn] rhel: Fix make rpm-fedora by unified sphinx | expand

Commit Message

Tao YunXiang March 4, 2020, 2:26 a.m. UTC
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@cmss.chinamobile.com>
Co-authored-by: Rong Yin <rongyin@cmss.chinamobile.com>
Signed-off-by: Tao YunXiang <taoyunxiang@cmss.chinamobile.com>
Signed-off-by: Liu Chang <liuchang@cmss.chinamobile.com>
Signed-off-by: Rong Yin <rongyin@cmss.chinamobile.com>

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

Patch

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}