mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 05:17:59 +03:00
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: Andrea Bolognani <abologna@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
b133fac356
commit
6c21ed93fc
@ -305,7 +305,7 @@ BuildRequires: perl-interpreter
|
||||
%else
|
||||
BuildRequires: perl
|
||||
%endif
|
||||
BuildRequires: python
|
||||
BuildRequires: python2
|
||||
%if %{with_systemd}
|
||||
BuildRequires: systemd-units
|
||||
%endif
|
||||
|
@ -61,7 +61,7 @@ BuildRequires: pkgconfig
|
||||
# Need native version for msgfmt
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libxslt
|
||||
BuildRequires: python
|
||||
BuildRequires: python2
|
||||
%if 0%{?fedora} >= 27
|
||||
BuildRequires: perl-interpreter
|
||||
%else
|
||||
|
Loading…
Reference in New Issue
Block a user