[mingw-SDL_image] Dropped .la files

epienbro epienbro at fedoraproject.org
Fri Mar 9 15:46:25 UTC 2012


commit d603905f569a95905413d9193492a4e62edcfff4
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date:   Fri Mar 9 16:46:15 2012 +0100

    Dropped .la files

 mingw-SDL_image.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/mingw-SDL_image.spec b/mingw-SDL_image.spec
index 09c30b8..f789a99 100644
--- a/mingw-SDL_image.spec
+++ b/mingw-SDL_image.spec
@@ -5,7 +5,7 @@
 
 Name:           mingw-SDL_image
 Version:        1.2.12
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        MinGW Windows port of the Image loading library for SDL
 
 License:        LGPLv2+
@@ -71,15 +71,20 @@ iconv --from=ISO-8859-1 --to=UTF-8 CHANGES > CHANGES.new && \
 touch -r CHANGES CHANGES.new && \
 mv CHANGES.new CHANGES
 
+# Drop all .la files
+find $RPM_BUILD_ROOT -name "*.la" -delete
+
 %files -n mingw32-SDL_image
 %doc README CHANGES COPYING
 %{mingw32_bindir}/SDL_image.dll
 %{mingw32_libdir}/libSDL_image.dll.a
 %{mingw32_libdir}/pkgconfig/SDL_image.pc
-%{mingw32_libdir}/libSDL_image.la
 %{mingw32_includedir}/SDL
 
 %changelog
+* Fri Mar 09 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 1.2.12-4
+- Dropped .la files
+
 * Wed Mar 07 2012 Kalev Lember <kalevlember at gmail.com> - 1.2.12-3
 - Renamed the source package to mingw-SDL_image (#801025)
 - Use mingw macros without leading underscore


More information about the scm-commits mailing list