Remove .la files
This commit is contained in:
parent
3614a755ae
commit
8c0061c292
@ -4,7 +4,7 @@
|
||||
|
||||
Name: mingw-expat
|
||||
Version: 2.0.1
|
||||
Release: 10%{?dist}
|
||||
Release: 11%{?dist}
|
||||
Summary: MinGW Windows port of expat XML parser library
|
||||
|
||||
License: MIT
|
||||
@ -64,9 +64,12 @@ make %{?_smp_mflags}
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
|
||||
# Remove static libraries but DON'T remove *.dll.a files.
|
||||
# Remove static libraries
|
||||
rm $RPM_BUILD_ROOT%{mingw32_libdir}/libexpat.a
|
||||
|
||||
# Remove .la files
|
||||
rm $RPM_BUILD_ROOT%{mingw32_libdir}/*.la
|
||||
|
||||
# Remove documentation which duplicates that found in the native package.
|
||||
rm -r $RPM_BUILD_ROOT%{mingw32_mandir}/man1
|
||||
|
||||
@ -80,12 +83,14 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{mingw32_bindir}/libexpat-1.dll
|
||||
%{mingw32_bindir}/xmlwf
|
||||
%{mingw32_libdir}/libexpat.dll.a
|
||||
%{mingw32_libdir}/libexpat.la
|
||||
%{mingw32_includedir}/expat.h
|
||||
%{mingw32_includedir}/expat_external.h
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Mar 09 2012 Kalev Lember <kalevlember@gmail.com> - 2.0.1-11
|
||||
- Remove .la files
|
||||
|
||||
* Tue Mar 06 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.0.1-10
|
||||
- Renamed the source package to mingw-expat (RHBZ #800377)
|
||||
- Use mingw macros without leading underscore
|
||||
|
Loading…
Reference in New Issue
Block a user