From b2daee0b910a87fdb5651ebd4ecb69cdb5d980ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radek=20Vok=C3=A1l?= Date: Wed, 23 Aug 2006 13:11:24 +0000 Subject: [PATCH] - SMUX support is still needed .. will disappear later! - static libs should be in devel not libs (#203571) - fix lm_sensors issues --- net-snmp.spec | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/net-snmp.spec b/net-snmp.spec index 1be0411..74e42a1 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -7,7 +7,7 @@ Summary: A collection of SNMP protocol tools and libraries. Name: net-snmp Version: %{major_ver}.0 -Release: 4%{?dist} +Release: 5%{?dist} License: BSDish Group: System Environment/Daemons @@ -39,6 +39,7 @@ Patch26: net-snmp-5.3_vendorperl.patch Patch27: net-snmp-5.3.1-multilib.patch Patch28: net-snmp-5.3.1-retrans_time.patch Patch29: net-snmp-5.3.1-config_libdir.patch +Patch30: net-snmp-5.3.1-lm_sensors.patch Prereq: /sbin/chkconfig Obsoletes: ucd-snmp @@ -144,6 +145,7 @@ and applications. %patch27 -p1 -b .multilib %patch28 -p0 -b .retrans_ms %patch29 -p1 -b .libdir +%patch30 -p1 -b .lm_sensors # Do this patch with a perl hack... perl -pi -e "s|'\\\$install_libdir'|'%{_libdir}'|" ltmain.sh @@ -161,9 +163,9 @@ export LIBDIR="%{_libdir}" --with-logfile="/var/log/snmpd.log" \ --with-persistent-directory="/var/net-snmp" \ %ifarch %{ix86} x86_64 - --with-mib-modules="host agentx ucd-snmp/lmSensors ucd-snmp/diskio disman/event-mib tcp-mib udp-mib" \ + --with-mib-modules="host agentx smux ucd-snmp/lmSensors ucd-snmp/diskio disman/event-mib tcp-mib udp-mib" \ %else - --with-mib-modules="host agentx " \ + --with-mib-modules="host agentx smux" \ %endif %if %{tcp_wrappers} --with-libwrap=%{_libdir} \ @@ -330,6 +332,7 @@ rm -rf ${RPM_BUILD_ROOT} %files devel %defattr(0644,root,root,0755) %{_libdir}/lib*.so +%{_libdir}/*.a /usr/include/* %attr(0644,root,root) %{_mandir}/man3/*.3.* %attr(0755,root,root) %{_bindir}/net-snmp-config* @@ -343,9 +346,13 @@ rm -rf ${RPM_BUILD_ROOT} %files libs %defattr(-,root,root) %{_libdir}/lib*.so.* -%{_libdir}/*.a %changelog +* Wed Aug 23 2006 Radek Vokal 5.3.1.0-5 +- SMUX support is still needed .. will disappear later! +- static libs should be in devel not libs (#203571) +- fix lm_sensors issues + * Tue Aug 22 2006 Radek Vokal 5.3.1.0-4 - turn off SMUX support (#110931) - add dist tag