From: Andrea Bolognani Date: Mon, 19 Mar 2018 17:06:09 +0000 (+0100) Subject: mingw: Use Python 3 for building X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=86416a7491bf5a6e7f0a416747c4a77ba24b5fd5;p=libvirt.git mingw: Use Python 3 for building While RHEL / CentOS are still using Python 2 for the time being, Fedora has already switched to Python 3 as the default Python interpreter a while ago, so on that OS it doesn't make sense to drag in Python 2 anymore. Signed-off-by: Andrea Bolognani Reviewed-by: Daniel P. Berrangé --- diff --git a/mingw-libvirt.spec.in b/mingw-libvirt.spec.in index 8f3f26d2d9..917d2143d8 100644 --- a/mingw-libvirt.spec.in +++ b/mingw-libvirt.spec.in @@ -72,7 +72,7 @@ BuildRequires: pkgconfig # Need native version for msgfmt BuildRequires: gettext BuildRequires: libxslt -BuildRequires: python2 +BuildRequires: python3 %if 0%{?fedora} >= 27 BuildRequires: perl-interpreter %else