[mingw-pcre] Dropped .la files

epienbro epienbro at fedoraproject.org
Fri Mar 9 15:43:26 UTC 2012


commit 3cf013a6dcf2cfff4071141a53fde14f90002680
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date:   Fri Mar 9 16:43:18 2012 +0100

    Dropped .la files

 mingw-pcre.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/mingw-pcre.spec b/mingw-pcre.spec
index 4e5eeeb..34d92a0 100644
--- a/mingw-pcre.spec
+++ b/mingw-pcre.spec
@@ -4,7 +4,7 @@
 
 Name:		mingw-pcre
 Version:	8.10
-Release:	7%{?dist}
+Release:	8%{?dist}
 Summary:	MinGW Windows pcre library
 
 Group:		Development/Libraries
@@ -73,19 +73,24 @@ make DESTDIR=$RPM_BUILD_ROOT install
 rm -rf $RPM_BUILD_ROOT%{mingw32_datadir}/doc/*
 rm -rf $RPM_BUILD_ROOT%{mingw32_datadir}/man/*
 
+# Drop all .la files
+find $RPM_BUILD_ROOT -name "*.la" -delete
+
 %files -n mingw32-pcre
 %{mingw32_bindir}/pcre-config
 %{mingw32_bindir}/pcregrep.exe
 %{mingw32_bindir}/pcretest.exe
 %{mingw32_bindir}/libpcre*.dll
 %{mingw32_libdir}/libpcre*.dll.a
-%{mingw32_libdir}/libpcre*.la
 %{mingw32_libdir}/pkgconfig/libpcre*.pc
 %{mingw32_includedir}/*.h
 
 %doc AUTHORS COPYING LICENCE NEWS README ChangeLog
 
 %changelog
+* Fri Mar 09 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 8.10-8
+- Dropped .la files
+
 * Wed Mar 07 2012 Kalev Lember <kalevlember at gmail.com> - 8.10-7
 - Renamed the source package to mingw-pcre (#801011)
 - Modernize the spec file


More information about the scm-commits mailing list