diff --git a/libvirt.spec.in b/libvirt.spec.in index bd08222527..e82845a50f 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -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