提交 6c21ed93 编写于 作者: D Daniel P. Berrangé

rpm: depend on python2, not bare python

Fedora requires packages to depend on "python2" RPM, not the unversioned
"python" name. Fortunately even though RHEL-6 ships a "python" RPM, it
has a virtual Provides for the "python2" name, so we don't need to
conditionalize this.
Reviewed-by: NAndrea Bolognani <abologna@redhat.com>
Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
上级 b133fac3
...@@ -305,7 +305,7 @@ BuildRequires: perl-interpreter ...@@ -305,7 +305,7 @@ BuildRequires: perl-interpreter
%else %else
BuildRequires: perl BuildRequires: perl
%endif %endif
BuildRequires: python BuildRequires: python2
%if %{with_systemd} %if %{with_systemd}
BuildRequires: systemd-units BuildRequires: systemd-units
%endif %endif
......
...@@ -61,7 +61,7 @@ BuildRequires: pkgconfig ...@@ -61,7 +61,7 @@ BuildRequires: pkgconfig
# Need native version for msgfmt # Need native version for msgfmt
BuildRequires: gettext BuildRequires: gettext
BuildRequires: libxslt BuildRequires: libxslt
BuildRequires: python BuildRequires: python2
%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.
先完成此消息的编辑!
想要评论请 注册