mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-07-06 09:55:46 +00:00
rpm: use python3-docutils as the direct dep
We no longer support python2, so using a file based dep for rst2html is not required. We do still have to do special casing for RHEL-7 though as the RPM is annoyingly different. Reviewed-by: Cole Robinson <crobinso@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
4954f8c0c7
commit
8ffc431139
@ -266,8 +266,11 @@ BuildRequires: gettext-devel
|
|||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: /usr/bin/pod2man
|
BuildRequires: /usr/bin/pod2man
|
||||||
# Replace with python3-docutils when we drop py2 support
|
%if 0%{?rhel} == 7
|
||||||
BuildRequires: /usr/bin/rst2html
|
BuildRequires: python36-docutils
|
||||||
|
%else
|
||||||
|
BuildRequires: python3-docutils
|
||||||
|
%endif
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
%if 0%{?fedora} || 0%{?rhel} > 7
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
||||||
|
Loading…
Reference in New Issue
Block a user