diff --git miniupnpc/miniupnpc.spec miniupnpc/miniupnpc.spec.tmp index 4a8128af4e..a98b94e2c3 100644 --- miniupnpc/miniupnpc.spec +++ miniupnpc/miniupnpc.spec.tmp @@ -10,7 +10,7 @@ Summary: Library and tool to control NAT in UPnP-enabled routers Name: miniupnpc Version: 2.0 -Release: 6%{?dist} +Release: 7%{?dist} License: BSD Group: System Environment/Libraries URL: http://miniupnp.free.fr/ @@ -41,12 +41,13 @@ Requires: %{name}%{?_isa} = %{version}-%{release} This package contains the header files and development documentation for %{name}. -%package -n python-%{name} +%package -n python2-%{name} +%{?python_provide:%python_provide python2-%{name}} Summary: Python interface to %{name} Group: System Environment/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} -%description -n python-%{name} +%description -n python2-%{name} This package contains python interfaces to %{name}. %if %{with_python3} @@ -122,7 +123,7 @@ make CFLAGS="%{optflags} -DMINIUPNPC_SET_SOCKET_TIMEOUT" check %{_libdir}/libminiupnpc.so %{_mandir}/man3/miniupnpc.3* -%files -n python-%{name} +%files -n python2-%{name} %{python_sitearch}/miniupnpc-%{version}-py?.?.egg-info %{python_sitearch}/miniupnpc.so @@ -133,6 +134,10 @@ make CFLAGS="%{optflags} -DMINIUPNPC_SET_SOCKET_TIMEOUT" check %endif %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 2.0-7 +- Python 2 binary package renamed to python2-miniupnpc + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 2.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild