From 0947fae75a8005ecdcb5f46375201cc5a4cfb6cf Mon Sep 17 00:00:00 2001 From: jorton Date: Wed, 7 Dec 2005 17:11:19 +0000 Subject: [PATCH] - strip unnecessary exports from .la file/neon-config --- neon.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/neon.spec b/neon.spec index e2b8395..caaccc6 100644 --- a/neon.spec +++ b/neon.spec @@ -1,7 +1,7 @@ Summary: An HTTP and WebDAV client library Name: neon Version: 0.24.7 -Release: 9 +Release: 10 License: LGPL Group: Applications/Publishing Prefix: %{_prefix} @@ -46,6 +46,12 @@ make %{?_smp_mflags} rm -rf $RPM_BUILD_ROOT %makeinstall +# Trim exports. +sed -i "s/dependency_libs='.*'/dependency_libs=''/g" \ + $RPM_BUILD_ROOT%{_libdir}/libneon.la +sed -i 's/LIBS=".*"/LIBS="-lneon"/' \ + $RPM_BUILD_ROOT%{_bindir}/neon-config + # test suite uses port 7777 %ifnarch ppc s390 %check @@ -75,6 +81,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/*.so %changelog +* Wed Dec 7 2005 Joe Orton 0.24.7-10 +- strip unnecessary exports from .la file/neon-config + * Tue Nov 8 2005 Tomas Mraz 0.24.7-9 - rebuilt with new openssl