提交 86416a74 编写于 作者: A Andrea Bolognani

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: NAndrea Bolognani <abologna@redhat.com>
Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com>
上级 7093e8c7
...@@ -72,7 +72,7 @@ BuildRequires: pkgconfig ...@@ -72,7 +72,7 @@ BuildRequires: pkgconfig
# Need native version for msgfmt # Need native version for msgfmt
BuildRequires: gettext BuildRequires: gettext
BuildRequires: libxslt BuildRequires: libxslt
BuildRequires: python2 BuildRequires: python3
%if 0%{?fedora} >= 27 %if 0%{?fedora} >= 27
BuildRequires: perl-interpreter BuildRequires: perl-interpreter
%else %else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册