From 75e1edaf35619d3ce7d28c44afa46d63b3ca09c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 19 Aug 2017 09:38:26 -0400 Subject: [PATCH] Python 2 binary package renamed to python2-gupnp-igd --- gupnp-igd.spec | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/gupnp-igd.spec b/gupnp-igd.spec index 5b821cd..ac796c6 100644 --- a/gupnp-igd.spec +++ b/gupnp-igd.spec @@ -2,7 +2,7 @@ Name: gupnp-igd Version: 0.2.4 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Library to handle UPnP IGD port mapping Group: System Environment/Libraries @@ -19,12 +19,16 @@ BuildRequires: pygtk2-devel %{name} is a library to handle UPnP IGD port mapping. -%package python +%package -n python2-gupnp-igd +%{?python_provide:%python_provide python2-gupnp-igd} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Summary: Python bindings for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} -%description python +%description -n python2-gupnp-igd The %{name}-python package contains the Python bindings for %{name}. @@ -70,7 +74,7 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %{_libdir}/girepository-1.0/GUPnPIgd-1.0.typelib -%files python +%files -n python2-gupnp-igd %dir %{python_sitearch}/gupnp %{python_sitearch}/gupnp/*.py* %{python_sitearch}/gupnp/igd.so @@ -85,6 +89,10 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %changelog +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 0.2.4-6 +- Python 2 binary package renamed to python2-gupnp-igd + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Wed Aug 02 2017 Fedora Release Engineering - 0.2.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild