Update Python 2 dependency declarations to new packaging standards
This commit is contained in:
parent
5b4651ae9a
commit
7064557d26
@ -2,7 +2,7 @@
|
||||
|
||||
Name: python-%{pkgname}
|
||||
Version: 5.1
|
||||
Release: 10%{?dist}
|
||||
Release: 11%{?dist}
|
||||
Summary: Python QR Code image generator
|
||||
|
||||
License: BSD
|
||||
@ -12,9 +12,9 @@ Source0: http://pypi.python.org/packages/source/q/qrcode/qrcode-%{version
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python-imaging
|
||||
BuildRequires: python-six
|
||||
BuildRequires: python2-setuptools
|
||||
BuildRequires: python2-imaging
|
||||
BuildRequires: python2-six
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
@ -30,14 +30,14 @@ generation of QR Codes.\
|
||||
|
||||
%package -n python2-%{pkgname}
|
||||
Summary: %summary
|
||||
Requires: python-imaging
|
||||
Requires: python2-imaging
|
||||
Requires: python2-%{pkgname}-core = %{version}-%{release}
|
||||
%{?python_provide:%python_provide python2-%{pkgname}}
|
||||
|
||||
%description -n python2-%{pkgname} %_description
|
||||
|
||||
%package -n python2-%{pkgname}-core
|
||||
Requires: python-six
|
||||
Requires: python2-six
|
||||
Conflicts: python-qrcode < 5.0
|
||||
Summary: Python 2 QR Code image generator (core library)
|
||||
%{?python_provide:%python_provide python2-%{pkgname}-core}
|
||||
@ -182,6 +182,10 @@ popd
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Mar 23 2018 Iryna Shcherbina <ishcherb@redhat.com> - 5.1-11
|
||||
- Update Python 2 dependency declarations to new packaging standards
|
||||
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||
|
||||
* Tue Mar 20 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 5.1-10
|
||||
- Also rename python-qrcode-core to python2-qrcode-core
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user