]> xenbits.xensource.com Git - libvirt.git/commitdiff
mingw: Use Python 3 for building
authorAndrea Bolognani <abologna@redhat.com>
Mon, 19 Mar 2018 17:06:09 +0000 (18:06 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 20 Mar 2018 13:03:22 +0000 (14:03 +0100)
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 <abologna@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
mingw-libvirt.spec.in

index 8f3f26d2d939f52f28b402717e9fe5c49e967ca1..917d2143d85908712b82d7137941a5b3e216f7c4 100644 (file)
@@ -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