- allow disman/event-mib

This commit is contained in:
Radek Vokál 2006-03-20 11:23:16 +00:00
parent d5be7c4927
commit 150ccdc173
1 changed files with 6 additions and 4 deletions

View File

@ -3,7 +3,7 @@
Summary: A collection of SNMP protocol tools and libraries.
Name: net-snmp
Version: 5.3
Release: 4.2
Release: 5
License: BSDish
Group: System Environment/Daemons
URL: http://net-snmp.sourceforge.net/
@ -150,7 +150,7 @@ export LDFLAGS="-L%{_libdir}"
--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" \
--with-mib-modules="host agentx smux ucd-snmp/lmSensors ucd-snmp/diskio disman/event-mib" \
%else
--with-mib-modules="host agentx smux " \
%endif
@ -172,9 +172,8 @@ make
pushd perl
# Use just built libs for perl module building, not the system libs.
perl Makefile.PL -NET-SNMP-IN-SOURCE=true PREFIX=${RPM_BUILD_ROOT}/%{_prefix} INSTALLDIRS=vendor
perl Makefile.PL -NET-SNMP-IN-SOURCE=true PREFIX=${RPM_BUILD_ROOT}/%{_prefix} INSTALLDIRS=vendor -NET-SNMP-CONFIG="sh ../../net-snmp-config"
perl -pi -e 's/^LD_RUN_PATH.*//;s/LD_RUN_PATH=\".*\" //;' default_store/Makefile OID/Makefile agent/Makefile agent/default_store/Makefile ASN/Makefile SNMP/Makefile
#perl Makefile.PL PREFIX=${RPM_BUILD_ROOT}/%{_prefix} INSTALLDIRS=vendor -NET-SNMP-CONFIG="sh ../../net-snmp-config" -NET-SNMP-IN-SOURCE=true
make
popd
@ -317,6 +316,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_libdir}/*.a
%changelog
* Mon Mar 20 2006 Radek Vokal <rvokal@redhat.com> 5.3-5
- allow disman/event-mib
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 5.3-4.2
- bump again for double-long bug on ppc(64)