From daa873da47eda072a09227e2d1b2875bb31b61fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C5=A0afr=C3=A1nek?= Date: Mon, 30 Jul 2007 11:50:35 +0000 Subject: [PATCH] lm_sensors now supported on ppc64 Resolves: #249255 --- net-snmp.spec | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/net-snmp.spec b/net-snmp.spec index 9faf0ac..5d16837 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -175,6 +175,12 @@ perl -pi -e "s|'\\\$install_libdir'|'%{_libdir}'|" ltmain.sh export LDFLAGS="-L%{_libdir}" %endif export LIBDIR="%{_libdir}" + +MIBS="host agentx smux ucd-snmp/diskio disman/event disman/schedule tcp-mib udp-mib mibII/mta_sendmail" +%ifnarch s390 s390x +MIBS="$MIBS ucd-snmp/lmSensors" +%endif + %configure \ --enable-static --enable-shared \ --with-cflags="$RPM_OPT_FLAGS" \ @@ -182,13 +188,7 @@ export LIBDIR="%{_libdir}" --with-sys-location="Unknown" \ --with-logfile="/var/log/snmpd.log" \ --with-persistent-directory="/var/net-snmp" \ -%ifarch %{ix86} x86_64 - --with-mib-modules="host agentx smux ucd-snmp/lmSensors \ - ucd-snmp/diskio disman/event disman/schedule tcp-mib udp-mib mibII/mta_sendmail" \ -%else - --with-mib-modules="host agentx smux \ - ucd-snmp/diskio disman/event disman/schedule tcp-mib udp-mib mibII/mta_sendmail" \ -%endif + --with-mib-modules="$MIBS" \ %if %{tcp_wrappers} --with-libwrap=%{_libdir} \ %endif @@ -372,6 +372,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_libdir}/lib*.so.* %changelog +* Mon Jul 30 2007 Safranek 5.4-16 +- lm_sensors now supported on ppc64 (#249255) + * Thu Jun 28 2007 Jan Safranek 5.4-15 - fix default snmptrapd.conf