Fixed dep gen with upper case dll names

This commit is contained in:
Kalev Lember 2011-07-06 21:32:35 +03:00
parent 4269348602
commit 6d7bab80f9
2 changed files with 5 additions and 2 deletions

View File

@ -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@gmail.com> - 69-5
- Fixed dep gen with upper case dll names
* Fri Jul 1 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 69-4
- The %%{_mingw32_qmake_qt4} macro pointed to an invalid mkspecs name. Fixed

View File

@ -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