Message ID | 87c06f04e8ea45f7556ce56c44bedd68099bf489.1553280346.git.tredaelli@redhat.com |
---|---|
State | Accepted |
Commit | b16b5caff746615dc2bab4773dac212a5c57fa85 |
Headers | show |
Series | [ovs-dev] rhel: Fix sphinx BuildRequires on Fedora Rawhide | expand |
On Fri, Mar 22, 2019 at 07:45:46PM +0100, Timothy Redaelli wrote: > 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@redhat.com> Applied to master, thanks.
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
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@redhat.com> --- rhel/openvswitch-fedora.spec.in | 2 +- rhel/ovn-fedora.spec.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)