From 6d7bab80f9ce7a876ed271bdc000e5ba21263277 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Jul 06 2011 18:32:35 +0000 Subject: Fixed dep gen with upper case dll names --- diff --git a/mingw32-filesystem.spec b/mingw32-filesystem.spec index 6285f1a..e2138f2 100644 --- a/mingw32-filesystem.spec +++ b/mingw32-filesystem.spec @@ -2,7 +2,7 @@ Name: mingw32-filesystem Version: 69 -Release: 4%{?dist} +Release: 5%{?dist} Summary: MinGW base filesystem and environment Group: Development/Libraries @@ -170,6 +170,9 @@ install -m 644 %{SOURCE8} $RPM_BUILD_ROOT%{_datadir}/mingw32 %changelog +* Wed Jul 06 2011 Kalev Lember - 69-5 +- Fixed dep gen with upper case dll names + * Fri Jul 1 2011 Erik van Pienbroek - 69-4 - The %%{_mingw32_qmake_qt4} macro pointed to an invalid mkspecs name. Fixed diff --git a/mingw32-find-requires.sh b/mingw32-find-requires.sh index ae1047e..da6bb2c 100755 --- a/mingw32-find-requires.sh +++ b/mingw32-find-requires.sh @@ -21,7 +21,7 @@ echo 'mingw32-runtime' dlls=$(echo $filelist | tr [:blank:] '\n' | grep -Ei '\.(dll|exe)$') for f in $dlls; do - $OBJDUMP -p $f | grep 'DLL Name' | grep -Eo '[-._\+[:alnum:]]+\.dll' | + $OBJDUMP -p $f | grep 'DLL Name' | grep -Eio '[-._\+[:alnum:]]+\.dll' | tr [:upper:] [:lower:] | sed 's/\(.*\)/mingw32(\1)/' done | sort -u