[mingw-qt5-qtjsbackend] Dropped manual rename of import libraries

Erik van Pienbroek epienbro at fedoraproject.org
Wed Jan 8 19:17:11 UTC 2014


commit b0aab146e8171e9714e4b82a37a3946a9efafdb7
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date:   Wed Jan 8 20:17:15 2014 +0100

    Dropped manual rename of import libraries

 mingw-qt5-qtjsbackend.spec |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/mingw-qt5-qtjsbackend.spec b/mingw-qt5-qtjsbackend.spec
index f342dd7..cb88f4b 100644
--- a/mingw-qt5-qtjsbackend.spec
+++ b/mingw-qt5-qtjsbackend.spec
@@ -95,12 +95,6 @@ Fedora Windows cross-compiler.
 # .prl files aren't interesting for us
 find $RPM_BUILD_ROOT -name "*.prl" -delete
 
-# Rename the .a files to .dll.a as they're actually import libraries and not static libraries
-for FN in $RPM_BUILD_ROOT%{mingw32_libdir}/*.a $RPM_BUILD_ROOT%{mingw64_libdir}/*.a ; do
-    FN_NEW=$(echo $FN | sed s/'.a$'/'.dll.a'/)
-    mv $FN $FN_NEW
-done
-
 # The .dll's are installed in both %%{mingw32_bindir} and %%{mingw32_libdir}
 # One copy of the .dll's is sufficient
 rm -f $RPM_BUILD_ROOT%{mingw32_libdir}/*.dll
@@ -125,6 +119,9 @@ rm -f $RPM_BUILD_ROOT%{mingw64_libdir}/*.dll
 
 
 %changelog
+* Wed Jan  8 2014 Erik van Pienbroek <epienbro at fedoraproject.org> - 5.1.1-3
+- Dropped manual rename of import libraries
+
 * Tue Dec  3 2013 Erik van Pienbroek <epienbro at fedoraproject.org> - 5.1.1-2
 - Fix FTBFS against Qt 5.2
 


More information about the scm-commits mailing list