rpm: update python2 deps

Name python2 explicitly in the dependencies, since Fedora 31 has python3
by default.

QubesOS/qubes-issues#5289

(cherry picked from commit ba6be8d8be)
This commit is contained in:
Marek Marczykowski-Górecki 2019-09-17 04:53:16 +02:00
parent 5a83961a88
commit ff7f65858e
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -15,7 +15,7 @@ Requires: python%{python3_pkgversion}-qubesimgconverter
%{?systemd_requires} %{?systemd_requires}
BuildRequires: systemd BuildRequires: systemd
BuildRequires: qubes-libvchan-devel BuildRequires: qubes-libvchan-devel
BuildRequires: python-setuptools BuildRequires: python2-setuptools
BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python2-rpm-macros BuildRequires: python2-rpm-macros
BuildRequires: python3-rpm-macros BuildRequires: python3-rpm-macros
@ -28,7 +28,7 @@ Common Linux files for Qubes Dom0 and VM
%package -n python2-qubesimgconverter %package -n python2-qubesimgconverter
Summary: Python package qubesimgconverter Summary: Python package qubesimgconverter
Requires: python Requires: python2
Requires: pycairo Requires: pycairo
%if 0%{?rhel} >= 7 %if 0%{?rhel} >= 7
Requires: python-pillow Requires: python-pillow