Remove static libraries
This commit is contained in:
parent
0efccdd519
commit
5edfd786a5
@ -50,7 +50,7 @@ Drafts).
|
||||
|
||||
%build
|
||||
[ ! -x ./configure ] && sh bootstrap
|
||||
%configure
|
||||
%configure --disable-static
|
||||
# remove rpath from libtool
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
@ -62,6 +62,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
rm -f doc/rfc2960.txt doc/states.txt
|
||||
make install DESTDIR="$RPM_BUILD_ROOT"
|
||||
|
||||
find $RPM_BUILD_ROOT/%{_libdir}/ -name "*.la" | xargs rm -f
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
@ -81,12 +83,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%files devel
|
||||
%defattr(-,root,root,0755)
|
||||
%{_includedir}/*
|
||||
%{_libdir}/libsctp.a
|
||||
%exclude %{_libdir}/libsctp.la
|
||||
%{_libdir}/libsctp.so
|
||||
%dir %{_libdir}/lksctp-tools/
|
||||
%{_libdir}/lksctp-tools/libwithsctp.a
|
||||
%exclude %{_libdir}/lksctp-tools/libwithsctp.la
|
||||
%{_libdir}/lksctp-tools/libwithsctp.so
|
||||
%{_datadir}/lksctp-tools/
|
||||
%{_mandir}/man3/*
|
||||
@ -99,6 +97,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
* Tue Dec 1 2009 Jan Safranek <jsafrane@redhat.com> 1.0.11-1
|
||||
- Update to 1.0.11
|
||||
- Remove rpath from compiled binaries
|
||||
- Remove static libraries
|
||||
|
||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.10-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
Loading…
Reference in New Issue
Block a user