- SMUX support is still needed .. will disappear later!

- static libs should be in devel not libs (#203571)
- fix lm_sensors issues
This commit is contained in:
Radek Vokál 2006-08-23 13:11:24 +00:00
parent a767e9f37f
commit b2daee0b91
1 changed files with 11 additions and 4 deletions

View File

@ -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 <rvokal@redhat.com> 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 <rvokal@redhat.com> 5.3.1.0-4
- turn off SMUX support (#110931)
- add dist tag