]> xenbits.xensource.com Git - libvirt.git/commitdiff
mingw-libvirt.spec.in: add perl + perl(Getopt::Long) BRs
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 1 Jul 2016 13:11:15 +0000 (14:11 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 1 Jul 2016 13:11:15 +0000 (14:11 +0100)
The default Fedora build roots for f25 and newer no longer
include perl. We must thus explicitly ask for it as the
RPC gendispatch.pl program needs it, and the Getopt::Long
module. Do this unconditionally since it isn't harmful for
older Fedora

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
mingw-libvirt.spec.in

index 699d6f7c683f344dae453445b0950cf2751ba78e..5c7183fcabd5e1ea2192ea168e7cc20f28db93ea 100644 (file)
@@ -54,6 +54,8 @@ BuildRequires:  mingw64-portablexdr
 BuildRequires:  pkgconfig
 # Need native version for msgfmt
 BuildRequires:  gettext
+BuildRequires:  perl
+BuildRequires:  perl(Getopt::Long)
 %if 0%{?enable_autotools}
 BuildRequires: autoconf
 BuildRequires: automake