- apr-1-config: strip more exports (#175124)
This commit is contained in:
parent
397f8f0c01
commit
3b61650b0b
7
apr.spec
7
apr.spec
@ -3,7 +3,7 @@
|
|||||||
Summary: Apache Portable Runtime library
|
Summary: Apache Portable Runtime library
|
||||||
Name: apr
|
Name: apr
|
||||||
Version: 1.2.2
|
Version: 1.2.2
|
||||||
Release: 2
|
Release: 3
|
||||||
License: Apache Software License
|
License: Apache Software License
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://apr.apache.org/
|
URL: http://apr.apache.org/
|
||||||
@ -84,6 +84,8 @@ mv docs/dox/html html
|
|||||||
# Trim exported dependecies
|
# Trim exported dependecies
|
||||||
sed -ri '/^dependency_libs/{s,-l(uuid|crypt) ,,g}' \
|
sed -ri '/^dependency_libs/{s,-l(uuid|crypt) ,,g}' \
|
||||||
$RPM_BUILD_ROOT%{_libdir}/libapr*.la
|
$RPM_BUILD_ROOT%{_libdir}/libapr*.la
|
||||||
|
sed -ri '/^LIBS=/{s,-l(uuid|crypt) ,,g;s/ */ /g}' \
|
||||||
|
$RPM_BUILD_ROOT%{_bindir}/apr-%{aprver}-config
|
||||||
|
|
||||||
# Unpackaged files:
|
# Unpackaged files:
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/apr.exp
|
rm -f $RPM_BUILD_ROOT%{_libdir}/apr.exp
|
||||||
@ -116,6 +118,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_includedir}/apr-%{aprver}/*.h
|
%{_includedir}/apr-%{aprver}/*.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 7 2005 Joe Orton <jorton@redhat.com> 1.2.2-3
|
||||||
|
- apr-1-config: strip more exports (#175124)
|
||||||
|
|
||||||
* Tue Dec 6 2005 Joe Orton <jorton@redhat.com> 1.2.2-2
|
* Tue Dec 6 2005 Joe Orton <jorton@redhat.com> 1.2.2-2
|
||||||
- avoid linking against -lrt
|
- avoid linking against -lrt
|
||||||
- don't print -L${libdir} in --libs output
|
- don't print -L${libdir} in --libs output
|
||||||
|
Loading…
Reference in New Issue
Block a user