rpm: switch deps to python3-setuptools on CentOS too
Since qubesagent module is py3 completely, switch dependency on CentOS too. Fixes QubesOS/qubes-issues#5290
This commit is contained in:
parent
bee2e9667c
commit
e024b195bc
@ -138,11 +138,7 @@ Requires: qubes-core-qrexec-vm
|
||||
Requires: qubes-libvchan
|
||||
Requires: qubes-db-vm
|
||||
Requires: python%{python3_pkgversion}-dnf-plugins-qubes-hooks
|
||||
%if 0%{?rhel} == 7
|
||||
Requires: python-setuptools
|
||||
%else
|
||||
Requires: python%{python3_pkgversion}-setuptools
|
||||
%endif
|
||||
Obsoletes: qubes-core-vm-kernel-placeholder <= 1.0
|
||||
Obsoletes: qubes-upgrade-vm < 3.2
|
||||
Provides: qubes-core-vm = %{version}-%{release}
|
||||
@ -157,11 +153,7 @@ BuildRequires: libX11-devel
|
||||
BuildRequires: qubes-utils-devel >= 3.1.3
|
||||
BuildRequires: qubes-libvchan-@BACKEND_VMM@-devel
|
||||
BuildRequires: pam-devel
|
||||
%if 0%{?rhel} == 7
|
||||
BuildRequires: python-setuptools
|
||||
%else
|
||||
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||
%endif
|
||||
BuildRequires: systemd
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user