Accepting request 990820 from windows:mingw:win64

OBS-URL: https://build.opensuse.org/request/show/990820
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mingw64-filesystem?expand=0&rev=16
This commit is contained in:
Richard Brown 2022-07-26 17:43:48 +00:00 committed by Git OBS Bridge
commit c2c599eeae
4 changed files with 24 additions and 3 deletions

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Wed Jul 20 07:11:15 UTC 2022 - Ralf Habacker <ralf.habacker@freenet.de>
- Update to 20220801
- Fetch real used shared library name from import libraries to avoid
file name generation errors, for example with mingw32-glib2
- Scan all archives for shared library names as packages may not use
the default import library extension
-------------------------------------------------------------------
Tue Jul 12 07:18:39 UTC 2022 - Ralf Habacker <ralf.habacker@freenet.de>
- Fix finding qm files for KDE Frameworks >= 5.76 (taken from rpm-4.14.1)
-------------------------------------------------------------------
Sun Jun 5 05:03:17 UTC 2022 - Ralf Habacker <ralf.habacker@freenet.de>

View File

@ -31,7 +31,7 @@
%define _rpmmacrodir %{_sysconfdir}/rpm
%endif
Name: mingw64-filesystem
Version: 20220620
Version: 20220801
Release: 0
Summary: MinGW base filesystem and environment
License: GPL-2.0-or-later

View File

@ -227,6 +227,10 @@ s:'"$TOP_DIR"'::
'"$NO_ALL_NAME$QT"'s:\(.*/'"$NAME"'_\([a-zA-Z]\{2\}\([_@].*\)\?\)\.qm$\):%lang(\2) \1:
'"$ALL_NAME$QT"'s:\(.*/[^/_]\+_\([a-zA-Z]\{2\}[_@].*\)\.qm$\):%lang(\2) \1:
'"$ALL_NAME$QT"'s:\(.*/[^/_]\+_\([a-zA-Z]\{2\}\)\.qm$\):%lang(\2) \1:
'"$ALL_NAME$QT"'s:^\([^%].*/\([a-zA-Z]\{2\}[_@].*\)\.qm$\):%lang(\2) \1:
'"$ALL_NAME$QT"'s:^\([^%].*/\([a-zA-Z]\{2\}\)\.qm$\):%lang(\2) \1:
'"$ALL_NAME$QT"'s:^\([^%].*/[^/_]\+_\([a-zA-Z]\{2\}[_@].*\)\.qm$\):%lang(\2) \1:
'"$ALL_NAME$QT"'s:^\([^%].*/[^/_]\+_\([a-zA-Z]\{2\}\)\.qm$\):%lang(\2) \1:
'"$ALL_NAME$QT"'s:^\([^%].*/[^/]\+_\([a-zA-Z]\{2\}[_@].*\)\.qm$\):%lang(\2) \1:
'"$ALL_NAME$QT"'s:^\([^%].*/[^/]\+_\([a-zA-Z]\{2\}\)\.qm$\):%lang(\2) \1:
s:^[^%].*::

View File

@ -106,11 +106,14 @@ for f in $dlls; do
sed 's/\(.*\)/'"$target"'(\1)/'
done | sort -u
# scan import libraries - all archive files are scanned, not only
# '.dll.a' as some packages do not use the standard extension
# for import libraries
if [ -n "$scan_implibs" ]; then
implibs=$(echo "$filelist" | grep '\.dll.a$')
implibs=$(echo "$filelist" | grep '\.a$')
for f in $implibs; do
[ ! -f "$f" ] && continue
"$OBJDUMP" -r "$f" | grep '_iname' | sed 's,^.*lib,lib,g;s,_iname,,g;s,_dll,.dll,g;s,_,-,g' |
"$STRINGS" "$f" | grep '\.dll$' |
tr "[:upper:]" "[:lower:]" |
grep -Ev "$exclude_pattern" |
sed 's/\(.*\)/'"$target"'(\1)/'