diff --git python-qrcode/python-qrcode.spec python-qrcode/python-qrcode.spec.tmp index 5d32601948..7b9acfd7d4 100644 --- python-qrcode/python-qrcode.spec +++ python-qrcode/python-qrcode.spec.tmp @@ -2,7 +2,7 @@ Name: python-%{pkgname} Version: 5.1 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Python QR Code image generator License: BSD @@ -21,13 +21,20 @@ BuildRequires: python3-setuptools BuildRequires: python3-imaging BuildRequires: python3-six +%global _description\ +This module uses the Python Imaging Library (PIL) to allow for the\ +generation of QR Codes.\ + + +%description %_description + +%package -n python2-%{pkgname} +Summary: %summary Requires: python-imaging Requires: %{name}-core = %{version}-%{release} +%{?python_provide:%python_provide python2-%{pkgname}} -%description -This module uses the Python Imaging Library (PIL) to allow for the -generation of QR Codes. - +%description -n python2-%{pkgname} %_description %package core Requires: python-six @@ -132,7 +139,7 @@ popd -%files +%files -n python2-%{pkgname} %{python2_sitelib}/%{pkgname}/image/svg.py* %{python2_sitelib}/%{pkgname}/image/pil.py* @@ -174,6 +181,10 @@ popd %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 5.1-8 +- Python 2 binary package renamed to python2-qrcode + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 5.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild