[mingw-cppunit] Remove the .la files

Kalev Lember kalev at fedoraproject.org
Fri Mar 9 15:33:22 UTC 2012


commit a1b6b01d0bcb439131ae9436e887c720c622b363
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Fri Mar 9 17:31:28 2012 +0200

    Remove the .la files

 mingw-cppunit.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/mingw-cppunit.spec b/mingw-cppunit.spec
index c57a0cb..d37a7db 100644
--- a/mingw-cppunit.spec
+++ b/mingw-cppunit.spec
@@ -3,7 +3,7 @@
 
 Name:           mingw-cppunit
 Version:        1.12.1
-Release:        8%{?dist}
+Release:        9%{?dist}
 Summary:        MinGW Windows C++ unit testing framework
 
 Group:          Development/Libraries
@@ -53,6 +53,8 @@ make %{?_smp_mflags}
 
 %install
 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
+# Remove the .la files
+rm -f $RPM_BUILD_ROOT%{mingw32_libdir}/*.la
 
 
 %files -n mingw32-cppunit
@@ -63,12 +65,14 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
 %{mingw32_bindir}/libcppunit-*.dll
 %{mingw32_libdir}/pkgconfig/cppunit.pc
 %{mingw32_libdir}/libcppunit.dll.a
-%{mingw32_libdir}/libcppunit.la
 %{mingw32_datadir}/aclocal/cppunit.m4
 %exclude %{mingw32_mandir}/man1/cppunit-config.1
 
 
 %changelog
+* Fri Mar 09 2012 Kalev Lember <kalevlember at gmail.com> - 1.12.1-9
+- Remove the .la files
+
 * Wed Mar 07 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 1.12.1-8
 - Renamed the source package to mingw-cppunit (RHBZ #800853)
 - Use mingw macros without leading underscore


More information about the scm-commits mailing list