From a978c020276995bdb726d861d9b3fe763df8f91e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C5=A0afr=C3=A1nek?= Date: Wed, 6 Jan 2010 08:33:55 +0000 Subject: [PATCH] fix compilation with rpm-4.8 --- net-snmp.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net-snmp.spec b/net-snmp.spec index e18483e..392bb32 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -1,12 +1,12 @@ # use netsnmp_tcp_wrappers 0 to disable tcp_wrappers support -%{!?netsnmp_tcp_wrappers:%define netsnmp_tcp_wrappers 1} +%{!?netsnmp_tcp_wrappers:%global netsnmp_tcp_wrappers 1} # use nestnmp_check 0 to speed up packaging by disabling 'make test' -%{!?netsnmp_check: %define netsnmp_check 1} +%{!?netsnmp_check: %global 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)")} +%{!?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