Fix python3 package names with respect to CentOS for consistency with python34 names
This commit is contained in:
parent
766f83de8e
commit
d0659016c5
@ -15,7 +15,11 @@ URL: http://www.qubes-os.org
|
|||||||
Requires: udev
|
Requires: udev
|
||||||
Requires: %{name}-libs
|
Requires: %{name}-libs
|
||||||
Requires: ImageMagick
|
Requires: ImageMagick
|
||||||
|
%if 0%{?rhel} >= 7
|
||||||
|
Requires: python34-qubesimgconverter
|
||||||
|
%else
|
||||||
Requires: python3-qubesimgconverter
|
Requires: python3-qubesimgconverter
|
||||||
|
%endif
|
||||||
BuildRequires: qubes-libvchan-devel
|
BuildRequires: qubes-libvchan-devel
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
%if 0%{?rhel} >= 7
|
%if 0%{?rhel} >= 7
|
||||||
@ -39,18 +43,23 @@ Requires: pycairo
|
|||||||
%description -n python2-qubesimgconverter
|
%description -n python2-qubesimgconverter
|
||||||
Python package qubesimgconverter
|
Python package qubesimgconverter
|
||||||
|
|
||||||
|
%if 0%{?rhel} >= 7
|
||||||
|
%package -n python34-qubesimgconverter
|
||||||
|
Summary: Python package qubesimgconverter
|
||||||
|
Requires: python34
|
||||||
|
Requires: python34-cairo
|
||||||
|
|
||||||
|
%description -n python34-qubesimgconverter
|
||||||
|
Python package qubesimgconverter
|
||||||
|
%else
|
||||||
%package -n python3-qubesimgconverter
|
%package -n python3-qubesimgconverter
|
||||||
Summary: Python package qubesimgconverter
|
Summary: Python package qubesimgconverter
|
||||||
%if 0%{?rhel} >= 7
|
|
||||||
Requires: python34
|
|
||||||
Requires: pycairo
|
|
||||||
%else
|
|
||||||
Requires: python3
|
Requires: python3
|
||||||
Requires: python3-cairo
|
Requires: python3-cairo
|
||||||
%endif
|
|
||||||
|
|
||||||
%description -n python3-qubesimgconverter
|
%description -n python3-qubesimgconverter
|
||||||
Python package qubesimgconverter
|
Python package qubesimgconverter
|
||||||
|
%endif
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development headers for qubes-utils
|
Summary: Development headers for qubes-utils
|
||||||
@ -115,7 +124,11 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{python_sitelib}/qubesimgconverter/test.py*
|
%{python_sitelib}/qubesimgconverter/test.py*
|
||||||
%{python_sitelib}/qubesimgconverter-%{version}-py?.?.egg-info/*
|
%{python_sitelib}/qubesimgconverter-%{version}-py?.?.egg-info/*
|
||||||
|
|
||||||
|
%if 0%{?rhel} >= 7
|
||||||
|
%files -n python34-qubesimgconverter
|
||||||
|
%else
|
||||||
%files -n python3-qubesimgconverter
|
%files -n python3-qubesimgconverter
|
||||||
|
%endif
|
||||||
%{python3_sitelib}/qubesimgconverter/__init__.py
|
%{python3_sitelib}/qubesimgconverter/__init__.py
|
||||||
%{python3_sitelib}/qubesimgconverter/imggen.py
|
%{python3_sitelib}/qubesimgconverter/imggen.py
|
||||||
%{python3_sitelib}/qubesimgconverter/test.py
|
%{python3_sitelib}/qubesimgconverter/test.py
|
||||||
|
Loading…
Reference in New Issue
Block a user