diff --git a/net-snmp-config b/net-snmp-config index a6ba34a..a719c28 100755 --- a/net-snmp-config +++ b/net-snmp-config @@ -11,7 +11,7 @@ # this particular shell script calls arch specific script to avoid # multilib conflicts -# Supported arches ix86 ia64 ppc ppc64 s390 s390x x86_64 alpha +# Supported arches ix86 ia64 ppc ppc64 s390 s390x x86_64 alpha sparc sparc64 arch=`arch` echo $arch | grep -q i.86 @@ -47,5 +47,12 @@ if [ "$arch" = "alpha" ] ; then net-snmp-config-alpha $* exit 0 fi - +if [ "$arch" = "sparc" ] ; then + net-snmp-config-sparc $* + exit 0 +fi +if [ "$arch" = "sparc64" ] ; then + net-snmp-config-sparc64 $* + exit 0 +fi echo "Cannot determine architecture" diff --git a/net-snmp.spec b/net-snmp.spec index 4f8bc67..32423e1 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -7,7 +7,7 @@ Summary: A collection of SNMP protocol tools and libraries Name: net-snmp Version: %{major_ver} -Release: 17%{?dist} +Release: 18%{?dist} Epoch: 1 License: BSD and MIT @@ -385,6 +385,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_libdir}/lib*.so.* %changelog +* Sat May 31 2008 Dennis Gilmore 5.4.1-18 +- fix sparc handling in /usr/bin/net-snmp-config + * Thu May 29 2008 Dennis Gilmore 5.4.1-17 - fix sparc handling in /usr/include/net-snmp/net-snmp-config-sparc.h