diff --git a/net-snmp.spec b/net-snmp.spec index e823d2f..8ce5eb9 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -11,7 +11,7 @@ Summary: A collection of SNMP protocol tools and libraries Name: net-snmp Version: 5.7.3 -Release: 25%{?dist} +Release: 26%{?dist} Epoch: 1 License: BSD @@ -199,12 +199,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. @@ -521,7 +525,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}/* @@ -553,6 +557,10 @@ rm -rf ${RPM_BUILD_ROOT} %endif %changelog +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 1:5.7.3-26 +- Python 2 binary package renamed to python2-net-snmp + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Fri Aug 11 2017 Igor Gnatenko - 1:5.7.3-25 - Rebuilt after RPM update (№ 3)