[mingw32-filesystem] Fixed dep gen with upper case dll names
Kalev Lember
kalev at fedoraproject.org
Wed Jul 6 18:33:08 UTC 2011
commit 6d7bab80f9ce7a876ed271bdc000e5ba21263277
Author: Kalev Lember <kalevlember at gmail.com>
Date: Wed Jul 6 21:32:35 2011 +0300
Fixed dep gen with upper case dll names
mingw32-filesystem.spec | 5 ++++-
mingw32-find-requires.sh | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
---
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 <kalevlember at gmail.com> - 69-5
+- Fixed dep gen with upper case dll names
+
* Fri Jul 1 2011 Erik van Pienbroek <epienbro at fedoraproject.org> - 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
More information about the scm-commits
mailing list