diff --git net-snmp/net-snmp.spec net-snmp/net-snmp.spec.tmp index c179d7eed3..0cfed7161b 100644 --- net-snmp/net-snmp.spec +++ net-snmp/net-snmp.spec.tmp @@ -11,7 +11,7 @@ Summary: A collection of SNMP protocol tools and libraries Name: net-snmp Version: 5.7.3 -Release: 22%{?dist} +Release: 23%{?dist} Epoch: 1 License: BSD @@ -196,12 +196,16 @@ Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release} The net-snmp-agent-libs package contains the runtime agent libraries for shared binaries and applications. -%package python +%package -n python2-net-snmp +%{?python_provide:%python_provide python2-net-snmp} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Group: Development/Libraries Summary: The Python 'netsnmp' module for the Net-SNMP Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release} -%description python +%description -n python2-net-snmp The 'netsnmp' module provides a full featured, tri-lingual SNMP (SNMPv3, SNMPv2c, SNMPv1) client API. The 'netsnmp' module internals rely on the Net-SNMP toolkit library. @@ -517,7 +521,7 @@ rm -rf ${RPM_BUILD_ROOT} %{perl_vendorarch}/auto/*SNMP* %{perl_vendorarch}/auto/Bundle/*SNMP* -%files python +%files -n python2-net-snmp %doc README %{python_sitearch}/* @@ -549,6 +553,10 @@ rm -rf ${RPM_BUILD_ROOT} %endif %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1:5.7.3-23 +- Python 2 binary package renamed to python2-net-snmp + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 1:5.7.3-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild