parent
a2a3543c54
commit
6f04d4e0c1
@ -55,4 +55,8 @@ if [ "$arch" = "sparc64" ] ; then
|
|||||||
net-snmp-config-sparc64 $*
|
net-snmp-config-sparc64 $*
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
if [ "$arch" = "aarch64" ] ; then
|
||||||
|
net-snmp-config-aarch64 $*
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
echo "Cannot determine architecture"
|
echo "Cannot determine architecture"
|
||||||
|
@ -29,6 +29,8 @@
|
|||||||
#include "net-snmp-config-sparc64.h"
|
#include "net-snmp-config-sparc64.h"
|
||||||
#elif defined(__sparc__)
|
#elif defined(__sparc__)
|
||||||
#include "net-snmp-config-sparc.h"
|
#include "net-snmp-config-sparc.h"
|
||||||
|
#elif defined(__aarch64__)
|
||||||
|
#include "net-snmp-config-aarch64.h"
|
||||||
#else
|
#else
|
||||||
#error "net-snmp-devel package does not work on your architecture"
|
#error "net-snmp-devel package does not work on your architecture"
|
||||||
#endif
|
#endif
|
||||||
|
@ -6,12 +6,12 @@
|
|||||||
# allow compilation on Fedora 11 and older
|
# 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)")}
|
%{!?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
|
# Arches on which we need to prevent arch conflicts on net-snmp-config.h
|
||||||
%global multilib_arches %{ix86} ia64 ppc ppc64 s390 s390x x86_64 sparc sparcv9 sparc64
|
%global multilib_arches %{ix86} ia64 ppc ppc64 s390 s390x x86_64 sparc sparcv9 sparc64 aarch64
|
||||||
|
|
||||||
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.7.2
|
Version: 5.7.2
|
||||||
Release: 10%{?dist}
|
Release: 11%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -504,6 +504,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%{_initrddir}/snmptrapd
|
%{_initrddir}/snmptrapd
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 6 2013 Jan Safranek <jsafrane@redhat.com> - 1:5.7.2-11
|
||||||
|
- added aarch64 to multilib architectures.
|
||||||
|
|
||||||
* Mon Apr 22 2013 Jan Safranek <jsafrane@redhat.com> - 1:5.7.2-10
|
* Mon Apr 22 2013 Jan Safranek <jsafrane@redhat.com> - 1:5.7.2-10
|
||||||
- moved agentxtrap utility to net-snmp subpackage,
|
- moved agentxtrap utility to net-snmp subpackage,
|
||||||
it needs libraries provided by net-snmp-agent-libs.
|
it needs libraries provided by net-snmp-agent-libs.
|
||||||
|
Loading…
Reference in New Issue
Block a user