diff --git a/python-qrcode.spec b/python-qrcode.spec index cfc3da4db5..9856a0e026 100644 --- a/python-qrcode.spec +++ b/python-qrcode.spec @@ -2,7 +2,7 @@ Name: python-%{pkgname} Version: 5.1 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Python QR Code image generator License: BSD @@ -31,17 +31,18 @@ generation of QR Codes.\ %package -n python2-%{pkgname} Summary: %summary Requires: python-imaging -Requires: %{name}-core = %{version}-%{release} +Requires: python2-%{pkgname}-core = %{version}-%{release} %{?python_provide:%python_provide python2-%{pkgname}} %description -n python2-%{pkgname} %_description -%package core +%package -n python2-%{pkgname}-core Requires: python-six Conflicts: python-qrcode < 5.0 Summary: Python 2 QR Code image generator (core library) +%{?python_provide:%python_provide python2-%{pkgname}-core} -%description core +%description -n python2-%{pkgname}-core Core Python 2 module for QR code generation. Does not contain image rendering. @@ -144,7 +145,7 @@ popd %{python2_sitelib}/%{pkgname}/image/pil.py* -%files core +%files -n python2-%{pkgname}-core %doc python2/README.rst python2/CHANGES.rst %license python2/LICENSE %dir %{python2_sitelib}/%{pkgname}/ @@ -181,6 +182,9 @@ popd %changelog +* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 5.1-9 +- Also rename the python2 core subpackage to python2-qrcode-core + * Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 5.1-8 - Python 2 binary package renamed to python2-qrcode See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3