[libvirt] [PATCH] mingw-libvirt.spec.in: add perl + perl(Getopt::Long) BRs

Daniel P. Berrange berrange at redhat.com
Fri Jul 1 13:12:52 UTC 2016


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 at redhat.com>
---

Pushed as a mingw build fix

 mingw-libvirt.spec.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/mingw-libvirt.spec.in b/mingw-libvirt.spec.in
index 699d6f7..5c7183f 100644
--- a/mingw-libvirt.spec.in
+++ b/mingw-libvirt.spec.in
@@ -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
-- 
2.7.4




More information about the libvir-list mailing list