restored rpath in net-snmp-config output
fixed check section to make tests pass on machine without DNS
This commit is contained in:
parent
8ec84154b3
commit
5db8d9731a
@ -11,7 +11,7 @@
|
|||||||
Summary: A collection of SNMP protocol tools and libraries
|
Summary: A collection of SNMP protocol tools and libraries
|
||||||
Name: net-snmp
|
Name: net-snmp
|
||||||
Version: 5.7
|
Version: 5.7
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -53,6 +53,8 @@ BuildRequires: chrpath
|
|||||||
BuildRequires: mysql-devel
|
BuildRequires: mysql-devel
|
||||||
# for netstat, needed by 'make test'
|
# for netstat, needed by 'make test'
|
||||||
BuildRequires: net-tools
|
BuildRequires: net-tools
|
||||||
|
# for make test
|
||||||
|
BuildRequires: perl(TAP::Harness)
|
||||||
%ifnarch s390 s390x
|
%ifnarch s390 s390x
|
||||||
BuildRequires: lm_sensors-devel >= 3
|
BuildRequires: lm_sensors-devel >= 3
|
||||||
%endif
|
%endif
|
||||||
@ -165,12 +167,12 @@ Net-SNMP toolkit library.
|
|||||||
%patch3 -p1 -b .multilib
|
%patch3 -p1 -b .multilib
|
||||||
%patch4 -p1 -b .include-struct
|
%patch4 -p1 -b .include-struct
|
||||||
%patch5 -p1 -b .apsl
|
%patch5 -p1 -b .apsl
|
||||||
%patch6 -p1 -b .perl-linking
|
|
||||||
# Following patch removes -Wl,-rpath,/usr/lib64/perl5/CORE from
|
# Following patch removes -Wl,-rpath,/usr/lib64/perl5/CORE from
|
||||||
# net-snmp-config --agent-libs output. As for Fedora 15, this
|
# net-snmp-config --agent-libs output. As for Fedora 15, this
|
||||||
# rpath is needed to link subagents, because libperl.so is in
|
# rpath is needed to link subagents, because libperl.so is in
|
||||||
# non-default directory - so leave the rpath there.
|
# non-default directory - so leave the rpath there.
|
||||||
#%patch7 -p1
|
#%patch6 -p1 -b .perl-linking
|
||||||
|
%patch7 -p1
|
||||||
%patch8 -p1 -b .mysql
|
%patch8 -p1 -b .mysql
|
||||||
|
|
||||||
%ifarch sparc64
|
%ifarch sparc64
|
||||||
@ -442,6 +444,12 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%{_datadir}/snmp/mibs/*
|
%{_datadir}/snmp/mibs/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 8 2011 Jan Safranek <jsafrane@redhat.com> - 1:5.7-2
|
||||||
|
- restored rpath in net-snmp-config output - SNMP subagent won't link
|
||||||
|
with libsnmpagent.so without it, linker needs to know location
|
||||||
|
of libperl.so
|
||||||
|
- fixed check section to make tests pass on machine without DNS
|
||||||
|
|
||||||
* Thu Jul 7 2011 Jan Safranek <jsafrane@redhat.com> - 1:5.7-1
|
* Thu Jul 7 2011 Jan Safranek <jsafrane@redhat.com> - 1:5.7-1
|
||||||
- updated to net-snmp-5.7
|
- updated to net-snmp-5.7
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user