From dc5dae0c90a77cb275f2ef885fa5ae018271a801 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 19 Aug 2017 09:42:26 -0400 Subject: [PATCH] Python 2 binary package renamed to python2-qrcode --- python-qrcode.spec | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/python-qrcode.spec b/python-qrcode.spec index 5d32601..cfc3da4 100644 --- a/python-qrcode.spec +++ b/python-qrcode.spec @@ -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 - 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