Python 2 binary package renamed to python2-gupnp-igd

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:38:26 -04:00
parent 7da290d64c
commit 75e1edaf35

View File

@ -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 <zbyszek@in.waw.pl> - 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 <releng@fedoraproject.org> - 0.2.4-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild