diff --git a/mingw-libgpg-error.spec b/mingw-libgpg-error.spec index 585ab59..2fe4f89 100644 --- a/mingw-libgpg-error.spec +++ b/mingw-libgpg-error.spec @@ -57,6 +57,9 @@ make DESTDIR=$RPM_BUILD_ROOT install rm $RPM_BUILD_ROOT%{mingw32_libdir}/libgpg-error.a +# Drop all .la files +find $RPM_BUILD_ROOT -name "*.la" -delete + %find_lang libgpg-error @@ -65,7 +68,6 @@ rm $RPM_BUILD_ROOT%{mingw32_libdir}/libgpg-error.a %{mingw32_bindir}/gpg-error.exe %{mingw32_bindir}/libgpg-error-0.dll %{mingw32_libdir}/libgpg-error.dll.a -%{mingw32_libdir}/libgpg-error.la %{mingw32_includedir}/gpg-error.h %{mingw32_datadir}/aclocal/gpg-error.m4 %{mingw32_datadir}/common-lisp/source/gpg-error/* @@ -76,6 +78,7 @@ rm $RPM_BUILD_ROOT%{mingw32_libdir}/libgpg-error.a - Renamed the source package to mingw-libgpg-error (RHBZ #800913) - Use mingw macros without leading underscore - Dropped unneeded RPM tags +- Dropped .la files * Mon Feb 27 2012 Erik van Pienbroek - 1.6-16 - Rebuild against the mingw-w64 toolchain