Also rename python-qrcode-core to python2-qrcode-core

This should have been done as part of the change in 5.1-8, but
was missed.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-03-20 23:10:55 +01:00
parent 66d687225d
commit 5b4651ae9a
1 changed files with 9 additions and 5 deletions

View File

@ -2,7 +2,7 @@
Name: python-%{pkgname}
Version: 5.1
Release: 9%{?dist}
Release: 10%{?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
* Tue Mar 20 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 5.1-10
- Also rename python-qrcode-core to python2-qrcode-core
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild