Python 2 binary package renamed to python2-net-snmp

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:38:59 -04:00
parent c7e3c4ce6a
commit 7c43e1c753
1 changed files with 12 additions and 4 deletions

View File

@ -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 <zbyszek@in.waw.pl> - 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 <ignatenko@redhat.com> - 1:5.7.3-25
- Rebuilt after RPM update (№ 3)