diff mbox series

[ovs-dev] rhel: Use python2-sphinx as BuildRequires on Fedora

Message ID 4deb0c18c667d52d92588f58039f2feedf998081.1509106723.git.tredaelli@redhat.com
State Accepted
Headers show
Series [ovs-dev] rhel: Use python2-sphinx as BuildRequires on Fedora | expand

Commit Message

Timothy Redaelli Oct. 27, 2017, 12:18 p.m. UTC
python-* package names are deprecated on Fedora
(https://fedoraproject.org/wiki/Packaging:Naming#Python2_binary_package_naming)
so use python2-sphinx, when available, instead.

CC: Lance Richardson <lrichard@redhat.com>
Fixes: cd6121410b52 ("rhel: add python-sphinx as a build dependency")
Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
---
 rhel/openvswitch-fedora.spec.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ben Pfaff Oct. 30, 2017, 9:17 p.m. UTC | #1
On Fri, Oct 27, 2017 at 02:18:43PM +0200, Timothy Redaelli wrote:
> python-* package names are deprecated on Fedora
> (https://fedoraproject.org/wiki/Packaging:Naming#Python2_binary_package_naming)
> so use python2-sphinx, when available, instead.
> 
> CC: Lance Richardson <lrichard@redhat.com>
> Fixes: cd6121410b52 ("rhel: add python-sphinx as a build dependency")
> Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>

Applied, thanks!
diff mbox series

Patch

diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index 8d6239350..edfc2303d 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitch-fedora.spec.in
@@ -75,7 +75,7 @@  BuildRequires: python3-devel
 BuildRequires: desktop-file-utils
 BuildRequires: groff graphviz
 BuildRequires: checkpolicy, selinux-policy-devel
-BuildRequires: python-sphinx
+BuildRequires: %{_py2}-sphinx
 # make check dependencies
 BuildRequires: %{_py2}-twisted%{?rhel:-core} %{_py2}-zope-interface %{_py2}-six
 BuildRequires: procps-ng