From 7064557d2631d85b149c0a0456e4064f44c419c6 Mon Sep 17 00:00:00 2001 From: Iryna Shcherbina Date: Fri, 23 Mar 2018 23:01:03 +0100 Subject: [PATCH] Update Python 2 dependency declarations to new packaging standards --- python-qrcode.spec | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/python-qrcode.spec b/python-qrcode.spec index 9ae9532..31e4d06 100644 --- a/python-qrcode.spec +++ b/python-qrcode.spec @@ -2,7 +2,7 @@ Name: python-%{pkgname} Version: 5.1 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Python QR Code image generator License: BSD @@ -12,9 +12,9 @@ Source0: http://pypi.python.org/packages/source/q/qrcode/qrcode-%{version BuildArch: noarch BuildRequires: python2-devel -BuildRequires: python-setuptools -BuildRequires: python-imaging -BuildRequires: python-six +BuildRequires: python2-setuptools +BuildRequires: python2-imaging +BuildRequires: python2-six BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -30,14 +30,14 @@ generation of QR Codes.\ %package -n python2-%{pkgname} Summary: %summary -Requires: python-imaging +Requires: python2-imaging Requires: python2-%{pkgname}-core = %{version}-%{release} %{?python_provide:%python_provide python2-%{pkgname}} %description -n python2-%{pkgname} %_description %package -n python2-%{pkgname}-core -Requires: python-six +Requires: python2-six Conflicts: python-qrcode < 5.0 Summary: Python 2 QR Code image generator (core library) %{?python_provide:%python_provide python2-%{pkgname}-core} @@ -182,6 +182,10 @@ popd %changelog +* Fri Mar 23 2018 Iryna Shcherbina - 5.1-11 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + * Tue Mar 20 2018 Zbigniew Jędrzejewski-Szmek - 5.1-10 - Also rename python-qrcode-core to python2-qrcode-core