On Tue, Apr 25, 2017 at 4:48 PM, Lance Richardson <[email protected]>
wrote:

> The python-sphinx package is now required in order to build
> man pages, add this package as a build requirement.
>
> Reported-by: Leif Madsen <[email protected]>
> Signed-off-by: Lance Richardson <[email protected]>
> ---
>  rhel/openvswitch-fedora.spec.in | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.
> spec.in
> index dbcab00..5d53284 100644
> --- a/rhel/openvswitch-fedora.spec.in
> +++ b/rhel/openvswitch-fedora.spec.in
> @@ -75,6 +75,7 @@ BuildRequires: python3-devel
>  BuildRequires: desktop-file-utils
>  BuildRequires: groff graphviz
>  BuildRequires: checkpolicy, selinux-policy-devel
> +BuildRequires: python-sphinx
>  # make check dependencies
>  BuildRequires: %{_py2}-twisted%{?rhel:-core} %{_py2}-zope-interface
> %{_py2}-six
>  BuildRequires: procps-ng
> --
> 2.9.3
>

Acked-By: Leif Madsen <[email protected]>
Tested-By: Leif Madsen <[email protected]>

Ran a local build test with latest master OVS repo. Test results in failed
build due to files not being found for glob:

error: File not found by glob:
/builddir/build/BUILDROOT/openvswitch-2.7.90.14194.git4decc1bf-1.el7.centos.x86_64/usr/share/man/man8/ovs-test.8*
error: File not found by glob:
/builddir/build/BUILDROOT/openvswitch-2.7.90.14194.git4decc1bf-1.el7.centos.x86_64/usr/share/man/man8/ovs-vlan-test.8*

Manual patch being applied to repo, then local build with mock validates
that things build successfully.

Test method:

patch -p1 <
~/Downloads/ovs-dev-rhel-add-python-sphinx-as-a-build-dependency.patch
mock --root epel-7-x86_64 --dnf --spec ovs/rhel/openvswitch-fedora.spec
--sources=ovs-sources/ --resultdir=result --buildsrpm
mock --root epel-7-x86_64 --dnf --without=check --no-clean
result/openvswitch-2.7.90.14194.git4decc1bf-1.el7.centos.src.rpm
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to