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 <abologna@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Andrea Bolognani 2018-03-19 18:06:09 +01:00
parent 7093e8c7a5
commit 86416a7491
1 changed files with 1 additions and 1 deletions

View 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