Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 316454 Details for
Bug 461947
patch net-snmp.spec: net-snmp-python subpackage
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch
net-snmp-python.patch (text/plain), 2.67 KB, created by
John A. Khvatov
on 2008-09-11 16:13:09 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
John A. Khvatov
Created:
2008-09-11 16:13:09 UTC
Size:
2.67 KB
patch
obsolete
>diff --git a/net-snmp.spec b/net-snmp.spec >index a2d5273..5b1d5c7 100644 >--- a/net-snmp.spec >+++ b/net-snmp.spec >@@ -1,3 +1,4 @@ >+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} > %{!?tcp_wrappers:%define tcp_wrappers 1} > > # TODO: rediff all patches and remove following line: >@@ -10,7 +11,7 @@ > Summary: A collection of SNMP protocol tools and libraries > Name: net-snmp > Version: %{major_ver} >-Release: 21%{?dist} >+Release: 22%{?dist} > Epoch: 1 > > License: BSD and MIT >@@ -58,6 +59,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) > BuildRequires: openssl-devel, bzip2-devel, elfutils-devel > BuildRequires: libselinux-devel, elfutils-libelf-devel, rpm-devel > BuildRequires: perl-devel, perl(ExtUtils::Embed), gawk, procps >+BuildRequires: python-devel, python-setuptools > %ifnarch s390 s390x > BuildRequires: lm_sensors-devel >= 3 > %endif >@@ -153,6 +155,17 @@ Summary: The NET-SNMP runtime libraries > The net-snmp-libs package contains the runtime libraries for shared binaries > and applications. > >+%package python >+Group: Development/Libraries >+Summary: The Python 'netsnmp' module for the NET-SNMP >+Requires: %{name} = %{epoch}:%{version} >+ >+%description python >+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. >+ >+ > %prep > %setup -q -n %{name}-%{major_ver} > %patch1 -p1 -b .mnttab >@@ -230,6 +243,11 @@ perl -pi -e 's/^LD_RUN_PATH.*//;s/LD_RUN_PATH=\".*\" //;' default_store/Makefile > make %{?smp_mflags} > popd > >+pushd python >+# built python module building >+%{__python} setup.py --basedir="../" build >+popd >+ > %install > rm -rf ${RPM_BUILD_ROOT} > %makeinstall ucdincludedir=${RPM_BUILD_ROOT}/usr/include/ucd-snmp >@@ -299,6 +317,11 @@ find $RPM_BUILD_ROOT/$installvendorarch -type f -print \ > | grep -v '/auto$' \ > > ../perl.lst > popd >+ >+pushd python >+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT >+popd >+ > find $RPM_BUILD_ROOT -name '*.so' | xargs chmod 0755 > > # remove docs that do not apply to Linux >@@ -384,6 +407,11 @@ rm -rf ${RPM_BUILD_ROOT} > %attr(0644,root,root) %{_mandir}/man1/mib2c.1* > %attr(0644,root,root) %{_mandir}/man3/*.3pm.* > >+%files python >+%defattr(-,root,root,-) >+%doc README >+%{python_sitelib}/* >+ > %files gui > %defattr(-,root,root) > %{_bindir}/tkmib >@@ -394,6 +422,9 @@ rm -rf ${RPM_BUILD_ROOT} > %{_libdir}/lib*.so.* > > %changelog >+* Wed Sep 10 2008 John A. Khvatov <ivaxer@fedoraproject.org> 5.4.1-22 >+- add net-snmp-python >+ > * Tue Jul 22 2008 Jan Safranek <jsafranek@redhat.com> 5.4.1-21 > - fix perl SNMP::Session::set (#452131) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 461947
: 316454