rpms/net-snmp/devel net-snmp.spec,1.202,1.203

Jan Šafránek jsafrane at fedoraproject.org
Tue Jan 12 09:22:08 UTC 2010


Author: jsafrane

Update of /cvs/pkgs/rpms/net-snmp/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13135

Modified Files:
	net-snmp.spec 
Log Message:
add clear description to legacy options in the spec file


Index: net-snmp.spec
===================================================================
RCS file: /cvs/pkgs/rpms/net-snmp/devel/net-snmp.spec,v
retrieving revision 1.202
retrieving revision 1.203
diff -u -p -r1.202 -r1.203
--- net-snmp.spec	6 Jan 2010 08:33:55 -0000	1.202
+++ net-snmp.spec	12 Jan 2010 09:22:08 -0000	1.203
@@ -3,10 +3,10 @@
 # use nestnmp_check 0 to speed up packaging by disabling 'make test'
 %{!?netsnmp_check: %global netsnmp_check 1}
 
+# allow compilation on Fedora 11 and older
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(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: %global 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
@@ -69,9 +69,6 @@ documentation, etc.
 You will probably also want to install the net-snmp-utils package,
 which contains NET-SNMP utilities.
 
-Building option:
-        --without tcp_wrappers : disable tcp_wrappers support
-
 %package utils
 Group: Applications/System
 Summary: Network management utilities using SNMP, from the NET-SNMP project
@@ -305,6 +302,7 @@ LD_LIBRARY_PATH=${RPM_BUILD_ROOT}/%{_lib
 /sbin/chkconfig --add snmptrapd
 
 # move local state files from /var/net-snmp to new location when updating the package
+# (Fedora 11: /var/net-snmp, Fedora 12: /var/lib/net-snmp)
 /bin/mv %{_localstatedir}/net-snmp/* %{_localstatedir}/lib/net-snmp/ &>/dev/null || :
 
 



More information about the scm-commits mailing list