From 2550779a40ace141bca54aede25362b0cd7d50ac Mon Sep 17 00:00:00 2001 From: Phil Knirsch Date: Thu, 14 Oct 2004 13:37:29 +0000 Subject: [PATCH] - Only enabled lmSensors module on supported archs. ;-) --- net-snmp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/net-snmp.spec b/net-snmp.spec index f9beeb7..61bf9b6 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -172,7 +172,11 @@ export LDFLAGS="-L%{_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" \ +%else + --with-mib-modules="host agentx smux " \ +%endif %if %{tcp_wrappers} --with-libwrap=%{_libdir} \ %endif @@ -331,7 +335,6 @@ rm -rf ${RPM_BUILD_ROOT} %changelog * Thu Oct 14 2004 Phil Knirsch 5.1.2-10 -- Marked all patches which are in net-snmp CVS for removal - Extended the libwrap and bsdcompat patches * Mon Oct 11 2004 Phil Knirsch 5.1.2-9