From: Jiri Denemark Date: Mon, 8 Apr 2013 12:48:18 +0000 (+0200) Subject: spec: Require pod2man when running autoreconf X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=6f1b9c8d2ab3f28d1b94f6aca0e2695632fa7019;p=people%2Fliuw%2Flibxenctrl-split%2Flibvirt.git spec: Require pod2man when running autoreconf Since commit b8a32e0e94d75702714167539310f0df4d268e0f, all man pages depend on configure.ac so that they are properly regenerated whenever libvirt version changes. Thus libvirt.spec needs to have a build dependency on pod2man when %{enable_autotools} is set. --- diff --git a/libvirt.spec.in b/libvirt.spec.in index 34b3f9c87..328b009f4 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -394,6 +394,7 @@ BuildRequires: autoconf BuildRequires: automake BuildRequires: gettext-devel BuildRequires: libtool +BuildRequires: /usr/bin/pod2man %endif BuildRequires: python-devel %if %{with_systemd}