lm_sensors now supported on ppc64 Resolves: #249255

This commit is contained in:
Jan Šafránek 2007-07-30 11:50:35 +00:00
parent 0f16ec3af2
commit daa873da47

View File

@ -175,6 +175,12 @@ perl -pi -e "s|'\\\$install_libdir'|'%{_libdir}'|" ltmain.sh
export LDFLAGS="-L%{_libdir}" export LDFLAGS="-L%{_libdir}"
%endif %endif
export LIBDIR="%{_libdir}" 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 \ %configure \
--enable-static --enable-shared \ --enable-static --enable-shared \
--with-cflags="$RPM_OPT_FLAGS" \ --with-cflags="$RPM_OPT_FLAGS" \
@ -182,13 +188,7 @@ export LIBDIR="%{_libdir}"
--with-sys-location="Unknown" \ --with-sys-location="Unknown" \
--with-logfile="/var/log/snmpd.log" \ --with-logfile="/var/log/snmpd.log" \
--with-persistent-directory="/var/net-snmp" \ --with-persistent-directory="/var/net-snmp" \
%ifarch %{ix86} x86_64 --with-mib-modules="$MIBS" \
--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
%if %{tcp_wrappers} %if %{tcp_wrappers}
--with-libwrap=%{_libdir} \ --with-libwrap=%{_libdir} \
%endif %endif
@ -372,6 +372,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_libdir}/lib*.so.* %{_libdir}/lib*.so.*
%changelog %changelog
* Mon Jul 30 2007 Safranek <jsafranek@redhat.com> 5.4-16
- lm_sensors now supported on ppc64 (#249255)
* Thu Jun 28 2007 Jan Safranek <jsafranek@redhat.com> 5.4-15 * Thu Jun 28 2007 Jan Safranek <jsafranek@redhat.com> 5.4-15
- fix default snmptrapd.conf - fix default snmptrapd.conf