]> xenbits.xensource.com Git - libvirt.git/commitdiff
rpm: move pod2man & rst2html deps outside the autotools conditional
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 6 Dec 2019 13:56:22 +0000 (13:56 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 11 Dec 2019 14:28:40 +0000 (14:28 +0000)
The generated man pages were previously bundled in the dist, so pod2man
was inside the autotools conditional. We no longer bundle any generated
files in the dist though, so pod2man must always be present.

rst2html then mistakenly just followed what pod2man did.

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
libvirt.spec.in

index bd08222527a40cdfb22a9ea363e5b8d11a9ba825..e82845a50fc4d36e0f44ec0eee587ac049763b4a 100644 (file)
@@ -264,10 +264,10 @@ BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: gettext-devel
 BuildRequires: libtool
+%endif
 BuildRequires: /usr/bin/pod2man
 # Replace with python3-docutils when we drop py2 support
 BuildRequires: /usr/bin/rst2html
-%endif
 BuildRequires: gcc
 BuildRequires: git
 %if 0%{?fedora} || 0%{?rhel} > 7