Fix dependency problem with + in DLL name (Thomas Sailer).

This commit is contained in:
Richard W.M. Jones 2009-04-21 22:25:57 +00:00
parent 7a18fb8141
commit c6360f8b14
2 changed files with 5 additions and 2 deletions

View File

@ -2,7 +2,7 @@
Name: mingw32-filesystem
Version: 50
Release: 3%{?dist}
Release: 4%{?dist}
Summary: MinGW base filesystem and environment
Group: Development/Libraries
@ -158,6 +158,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Tue Apr 21 2009 Richard W.M. Jones <rjones@redhat.com> - 50-4
- Fix dependency problem with + in DLL name (Thomas Sailer).
* Fri Mar 27 2009 Richard W.M. Jones <rjones@redhat.com> - 50-3
- Fix up and test mingw32-pkg-config changes.

View File

@ -22,7 +22,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 -Eo '[-._\+[:alnum:]]+\.dll' |
tr [:upper:] [:lower:] |
sed 's/\(.*\)/mingw32(\1)/'
done | sort -u