[mingw-libltdl: 42/42] Dropped .la files

epienbro epienbro at fedoraproject.org
Wed Mar 7 19:32:30 UTC 2012


commit 5255ba7bb721915aa3a5aa04e742817d51442483
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date:   Wed Mar 7 20:28:27 2012 +0100

    Dropped .la files

 mingw-libltdl.spec |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/mingw-libltdl.spec b/mingw-libltdl.spec
index f4f764c..24ec490 100644
--- a/mingw-libltdl.spec
+++ b/mingw-libltdl.spec
@@ -106,6 +106,9 @@ cd libltdl
 make install DESTDIR=%{buildroot}
 rm -f %{buildroot}%{mingw32_libdir}/libltdl.a
 
+# Drop all .la files
+find $RPM_BUILD_ROOT -name "*.la" -delete
+
 
 %files -n mingw32-libltdl
 %doc AUTHORS NEWS THANKS TODO ChangeLog
@@ -117,7 +120,6 @@ rm -f %{buildroot}%{mingw32_libdir}/libltdl.a
 %{mingw32_includedir}/libltdl/lt_system.h
 %{mingw32_includedir}/ltdl.h
 %{mingw32_libdir}/libltdl.dll.a
-%{mingw32_libdir}/libltdl.la
 
 
 %changelog
@@ -125,6 +127,7 @@ rm -f %{buildroot}%{mingw32_libdir}/libltdl.a
 - Renamed the source package to mingw-libltdl (RHBZ #800916)
 - Use mingw macros without leading underscore
 - Dropped unneeded RPM tags
+- Dropped .la files
 
 * Mon Feb 27 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 2.4-5
 - Rebuild against the mingw-w64 toolchain


More information about the scm-commits mailing list