From 86416a7491bf5a6e7f0a416747c4a77ba24b5fd5 Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Mon, 19 Mar 2018 18:06:09 +0100 Subject: [PATCH] mingw: Use Python 3 for building MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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é --- mingw-libvirt.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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