fix compilation of the python module
This commit is contained in:
parent
e4f9c3c90a
commit
e57a6afe9f
@ -1,16 +1,17 @@
|
|||||||
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
||||||
|
|
||||||
# use netsnmp_tcp_wrappers 0 to disable tcp_wrappers support
|
# use netsnmp_tcp_wrappers 0 to disable tcp_wrappers support
|
||||||
%{!?netsnmp_tcp_wrappers:%define netsnmp_tcp_wrappers 1}
|
%{!?netsnmp_tcp_wrappers:%define netsnmp_tcp_wrappers 1}
|
||||||
# use nestnmp_check 0 to speed up packaging by disabling 'make test'
|
# use nestnmp_check 0 to speed up packaging by disabling 'make test'
|
||||||
%{!?netsnmp_check: %define netsnmp_check 1}
|
%{!?netsnmp_check: %define netsnmp_check 1}
|
||||||
|
|
||||||
# Arches on which we need to prevent arch conflicts on net-snmp-config.h
|
# Arches on which we need to prevent arch conflicts on net-snmp-config.h
|
||||||
%define multilib_arches %{ix86} ia64 ppc ppc64 s390 s390x x86_64 sparc sparcv9 sparc64
|
%define multilib_arches %{ix86} ia64 ppc ppc64 s390 s390x x86_64 sparc sparcv9 sparc64
|
||||||
|
# allow compilation on old Fedoras
|
||||||
|
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
|
|
||||||
Summary: A collection of SNMP protocol tools and libraries
|
Summary: A collection of SNMP protocol tools and libraries
|
||||||
Name: net-snmp
|
Name: net-snmp
|
||||||
Version: 5.5
|
Version: 5.5
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
|
|
||||||
License: BSD and MIT
|
License: BSD and MIT
|
||||||
@ -385,7 +386,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%files python
|
%files python
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README
|
%doc README
|
||||||
%{python_sitelib}/*
|
%{python_sitearch}/*
|
||||||
|
|
||||||
%files gui
|
%files gui
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -401,6 +402,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%{_datadir}/snmp/mibs/*
|
%{_datadir}/snmp/mibs/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 8 2009 Jan Safranek <jsafrane@redhat.com> - 1:5.5-6
|
||||||
|
- fix compilation of the python module
|
||||||
|
|
||||||
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1:5.5-5
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1:5.5-5
|
||||||
- rebuild against perl 5.10.1
|
- rebuild against perl 5.10.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user