diff --git a/net-snmp.spec b/net-snmp.spec index 42f5588..dd2f351 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -192,7 +192,11 @@ MIBS="$MIBS ucd-snmp/lmsensorsMib" %configure \ --enable-static --enable-shared \ --with-cflags="$RPM_OPT_FLAGS -D_RPM_4_4_COMPAT" \ - --with-ldflags="$LDFLAGS -lcrypto -lsensors" \ +%ifnarch s390 s390x + --with-ldflags="$LDFLAGS -lcrypto -lsensors" \ +%else + --with-ldflags="$LDFLAGS -lcrypto" \ +%endif --with-sys-location="Unknown" \ --with-logfile="/var/log/snmpd.log" \ --with-persistent-directory="/var/net-snmp" \ @@ -415,6 +419,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_datadir}/snmp/mibs %changelog +* Fri Jan 30 2009 Karsten Hopp 5.4.2.1-7 +- fix build on s390x which has no libsensors + * Sat Jan 17 2009 Tomas Mraz 5.4.2.1-7 - rebuild with new openssl