rpms/net-snmp/devel net-snmp.spec,1.117,1.118

Jan Šafránek (jsafrane) fedora-extras-commits at redhat.com
Mon Jul 30 11:51:07 UTC 2007


Author: jsafrane

Update of /cvs/pkgs/rpms/net-snmp/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25029

Modified Files:
	net-snmp.spec 
Log Message:
lm_sensors now supported on ppc64
Resolves: #249255


Index: net-snmp.spec
===================================================================
RCS file: /cvs/pkgs/rpms/net-snmp/devel/net-snmp.spec,v
retrieving revision 1.117
retrieving revision 1.118
diff -u -r1.117 -r1.118
--- net-snmp.spec	28 Jun 2007 10:21:58 -0000	1.117
+++ net-snmp.spec	30 Jul 2007 11:50:35 -0000	1.118
@@ -175,6 +175,12 @@
 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 @@
     --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 @@
 %{_libdir}/lib*.so.*
 
 %changelog
+* Mon Jul 30 2007  Safranek <jsafranek at redhat.com> 5.4-16
+- lm_sensors now supported on ppc64 (#249255)
+
 * Thu Jun 28 2007 Jan Safranek <jsafranek at redhat.com> 5.4-15
 - fix default snmptrapd.conf
 




More information about the fedora-extras-commits mailing list