diff --git gupnp-igd/gupnp-igd.spec gupnp-igd/gupnp-igd.spec.tmp index 5b821cd2b0..ee70c88897 100644 --- gupnp-igd/gupnp-igd.spec +++ gupnp-igd/gupnp-igd.spec.tmp @@ -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 12 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