rpms/net-snmp/devel net-snmp.spec,1.198,1.199
Jan Šafránek
jsafrane at fedoraproject.org
Tue Dec 8 09:36:22 UTC 2009
Author: jsafrane
Update of /cvs/pkgs/rpms/net-snmp/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24110
Modified Files:
net-snmp.spec
Log Message:
fix compilation of the python module
Index: net-snmp.spec
===================================================================
RCS file: /cvs/pkgs/rpms/net-snmp/devel/net-snmp.spec,v
retrieving revision 1.198
retrieving revision 1.199
diff -u -p -r1.198 -r1.199
--- net-snmp.spec 7 Dec 2009 17:07:42 -0000 1.198
+++ net-snmp.spec 8 Dec 2009 09:36:22 -0000 1.199
@@ -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
%{!?netsnmp_tcp_wrappers:%define netsnmp_tcp_wrappers 1}
# use nestnmp_check 0 to speed up packaging by disabling 'make test'
%{!?netsnmp_check: %define netsnmp_check 1}
+
# 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
+# 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
Name: net-snmp
Version: 5.5
-Release: 5%{?dist}
+Release: 6%{?dist}
Epoch: 1
License: BSD and MIT
@@ -385,7 +386,7 @@ rm -rf ${RPM_BUILD_ROOT}
%files python
%defattr(-,root,root,-)
%doc README
-%{python_sitelib}/*
+%{python_sitearch}/*
%files gui
%defattr(-,root,root)
@@ -401,6 +402,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_datadir}/snmp/mibs/*
%changelog
+* Tue Dec 8 2009 Jan Safranek <jsafrane at redhat.com> - 1:5.5-6
+- fix compilation of the python module
+
* Mon Dec 7 2009 Stepan Kasal <skasal at redhat.com> - 1:5.5-5
- rebuild against perl 5.10.1
More information about the scm-commits
mailing list