- strip unnecessary exports from .la file/neon-config

epel10
jorton 19 years ago
parent 2a9380d2dc
commit 0947fae75a

@ -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 <jorton@redhat.com> 0.24.7-10
- strip unnecessary exports from .la file/neon-config
* Tue Nov 8 2005 Tomas Mraz <tmraz@redhat.com> 0.24.7-9
- rebuilt with new openssl

Loading…
Cancel
Save