fix compilation with rpm-4.8
This commit is contained in:
parent
08fd4f5c67
commit
a978c02027
@ -1,12 +1,12 @@
|
|||||||
# 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:%global 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: %global 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
|
# 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
|
Summary: A collection of SNMP protocol tools and libraries
|
||||||
Name: net-snmp
|
Name: net-snmp
|
||||||
|
Loading…
Reference in New Issue
Block a user