Python 2 binary package renamed to python2-qrcode

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:42:26 -04:00
parent ffbcb5a140
commit dc5dae0c90

View File

@ -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 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 5.1-8
- Python 2 binary package renamed to python2-qrcode
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild