Fixed dep gen with upper case dll names
This commit is contained in:
parent
4269348602
commit
6d7bab80f9
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: mingw32-filesystem
|
Name: mingw32-filesystem
|
||||||
Version: 69
|
Version: 69
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: MinGW base filesystem and environment
|
Summary: MinGW base filesystem and environment
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -170,6 +170,9 @@ install -m 644 %{SOURCE8} $RPM_BUILD_ROOT%{_datadir}/mingw32
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Jul 1 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 69-4
|
||||||
- The %%{_mingw32_qmake_qt4} macro pointed to an invalid mkspecs name. Fixed
|
- The %%{_mingw32_qmake_qt4} macro pointed to an invalid mkspecs name. Fixed
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ echo 'mingw32-runtime'
|
|||||||
dlls=$(echo $filelist | tr [:blank:] '\n' | grep -Ei '\.(dll|exe)$')
|
dlls=$(echo $filelist | tr [:blank:] '\n' | grep -Ei '\.(dll|exe)$')
|
||||||
|
|
||||||
for f in $dlls; do
|
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:] |
|
tr [:upper:] [:lower:] |
|
||||||
sed 's/\(.*\)/mingw32(\1)/'
|
sed 's/\(.*\)/mingw32(\1)/'
|
||||||
done | sort -u
|
done | sort -u
|
||||||
|
Loading…
Reference in New Issue
Block a user