- fix build on s390x which has no libsensors
This commit is contained in:
parent
7ac18750f2
commit
6ec5c8a9d1
@ -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 <karsten@redhat.com> 5.4.2.1-7
|
||||
- fix build on s390x which has no libsensors
|
||||
|
||||
* Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> 5.4.2.1-7
|
||||
- rebuild with new openssl
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user