From 1bb767ed0439bc1626570814f8c24ff2e9a424ca Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Jan 02 2018 19:30:21 +0000 Subject: Python 3 binary package renamed to python3-pygresql --- diff --git a/PyGreSQL.spec b/PyGreSQL.spec index b086727..16a4ee5 100644 --- a/PyGreSQL.spec +++ b/PyGreSQL.spec @@ -50,11 +50,15 @@ Obsoletes: PyGreSQL < %{version}-%{release} %description -n python2-pygresql %_description -%package -n python3-%{srcname} +%package -n python3-pygresql Summary: %summary -%{?python_provide:%python_provide python3-%{srcname}} +%{?python_provide:%python_provide python3-pygresql} +# Remove before F30 +Provides: python3-PyGreSQL = %{version}-%{release} +Provides: python3-PyGreSQL%{?_isa} = %{version}-%{release} +Obsoletes: python3-PyGreSQL < %{version}-%{release} -%description -n python3-%{srcname} +%description -n python3-pygresql %prep @@ -87,7 +91,7 @@ find -type f -exec chmod 644 {} + %{python2_sitearch}/*.egg-info -%files -n python3-%{srcname} +%files -n python3-pygresql %license docs/copyright.rst %doc docs/*.rst %{python3_sitearch}/*.so @@ -120,6 +124,7 @@ EOF * Tue Jan 02 2018 Zbigniew Jędrzejewski-Szmek - 5.0.4-2 - Python 2 binary package renamed to python2-pygresql See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 +- Python 3 binary package renamed to python3-pygresql * Wed Aug 16 2017 Pavel Raiskup - 5.0.4-1 - Rebase to upstream version 5.0.4 per rhbz#1475595