From 8c0061c292330c318ad009ad3d06d3f80b254360 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Fri, 9 Mar 2012 17:50:25 +0200 Subject: [PATCH] Remove .la files --- mingw-expat.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/mingw-expat.spec b/mingw-expat.spec index 399692f..4f6e010 100644 --- a/mingw-expat.spec +++ b/mingw-expat.spec @@ -4,7 +4,7 @@ Name: mingw-expat Version: 2.0.1 -Release: 10%{?dist} +Release: 11%{?dist} Summary: MinGW Windows port of expat XML parser library License: MIT @@ -64,9 +64,12 @@ make %{?_smp_mflags} rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install -# Remove static libraries but DON'T remove *.dll.a files. +# Remove static libraries rm $RPM_BUILD_ROOT%{mingw32_libdir}/libexpat.a +# Remove .la files +rm $RPM_BUILD_ROOT%{mingw32_libdir}/*.la + # Remove documentation which duplicates that found in the native package. rm -r $RPM_BUILD_ROOT%{mingw32_mandir}/man1 @@ -80,12 +83,14 @@ rm -rf $RPM_BUILD_ROOT %{mingw32_bindir}/libexpat-1.dll %{mingw32_bindir}/xmlwf %{mingw32_libdir}/libexpat.dll.a -%{mingw32_libdir}/libexpat.la %{mingw32_includedir}/expat.h %{mingw32_includedir}/expat_external.h %changelog +* Fri Mar 09 2012 Kalev Lember - 2.0.1-11 +- Remove .la files + * Tue Mar 06 2012 Erik van Pienbroek - 2.0.1-10 - Renamed the source package to mingw-expat (RHBZ #800377) - Use mingw macros without leading underscore