Remove rpath from net-snmp-config output

Resolves: #554747
This commit is contained in:
Jan Safranek 2010-08-19 16:21:36 +02:00
parent 0f4410527b
commit a54769e091
2 changed files with 22 additions and 1 deletions

View File

@ -0,0 +1,16 @@
554747 - net-snmp-config should not contain perl options
Remove rpath from net-snmp-config --agent-libs output.
diff -up net-snmp-5.5/net-snmp-config.in.jsaf net-snmp-5.5/net-snmp-config.in
--- net-snmp-5.5/net-snmp-config.in.jsaf 2009-04-04 12:07:39.000000000 +0200
+++ net-snmp-5.5/net-snmp-config.in 2010-08-19 16:08:28.825276858 +0200
@@ -50,7 +50,7 @@ NSC_LDFLAGS="@LDFLAGS@"
NSC_INCLUDEDIR=${includedir}
NSC_LIBDIR=-L${libdir}
NSC_LIBS="@LIBS@"
-NSC_AGENTLIBS="@AGENTLIBS@ @PERLLDOPTS_FOR_APPS@"
+NSC_AGENTLIBS="@AGENTLIBS@"
NSC_PREFIX=$prefix
NSC_EXEC_PREFIX=$exec_prefix
NSC_SRCDIR=@srcdir@

View File

@ -11,7 +11,7 @@
Summary: A collection of SNMP protocol tools and libraries
Name: net-snmp
Version: 5.5
Release: 19%{?dist}
Release: 20%{?dist}
Epoch: 1
License: BSD
@ -37,6 +37,7 @@ Patch8: net-snmp-5.5-test-tmpdir.patch
Patch9: net-snmp-5.5-include-struct.patch
Patch10: net-snmp-5.5-mktemp-size.patch
Patch11: net-snmp-5.5-apsl-copying.patch
Patch12: net-snmp-5.5-perl-linking.patch
Requires(post): chkconfig
Requires(preun): chkconfig
@ -172,6 +173,7 @@ Net-SNMP toolkit library.
%patch9 -p1 -b .include-struct
%patch10 -p1 -b .mktemp-size
%patch11 -p1 -b .apsl
%patch12 -p1 -b .perl-linking
%build
MIBS="host agentx smux \
@ -420,6 +422,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_datadir}/snmp/mibs/*
%changelog
* Thu Aug 19 2010 Jan Safranek <jsafrane@redhat.com> - 1:5.5-20
- Remove rpath from net-snmp-config output (#554747)
* Wed Aug 4 2010 Jan Safranek <jsafrane@redhat.com> - 1:5.5-19
- Add APSL 2.0 license to COPYING file