Filter Windows API umbrella libraries from requires
This commit is contained in:
parent
3aae864702
commit
9e2af70416
@ -6,8 +6,8 @@
|
||||
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
|
||||
|
||||
Name: mingw-filesystem
|
||||
Version: 116
|
||||
Release: 2%{?dist}
|
||||
Version: 117
|
||||
Release: 1%{?dist}
|
||||
Summary: MinGW cross compiler base filesystem and environment
|
||||
|
||||
License: GPLv2+
|
||||
@ -318,7 +318,10 @@ install -m 0644 %{SOURCE19} $RPM_BUILD_ROOT%{_datadir}/mingw/
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org>
|
||||
* Mon Feb 01 2021 Sandro Mani <manisandro@gmail.com> - 117-1
|
||||
- Filter Windows API umbrella libraries from requires
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> 116-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Mon Jul 27 2020 Sandro Mani <manisandro@gmail.com> - 116-1
|
||||
|
@ -24,7 +24,7 @@ for target in $targets; do
|
||||
for f in $dlls; do
|
||||
if [[ $f =~ .*$host_triplet.* ]]; then
|
||||
$OBJDUMP -p $f | grep 'DLL Name' | grep -Eio '[-._\+[:alnum:]]+\.dll' |
|
||||
tr '[:upper:]' '[:lower:]' |
|
||||
grep -v 'api-ms-win' | tr '[:upper:]' '[:lower:]' |
|
||||
sed "s/\(.*\)/$target(\1)/"
|
||||
dll_found=true
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user