Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mingw32-filesystem for openSUSE:Factory checked in at 2022-05-24 20:31:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mingw32-filesystem (Old) and /work/SRC/openSUSE:Factory/.mingw32-filesystem.new.2254 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mingw32-filesystem" Tue May 24 20:31:42 2022 rev:13 rq:978888 version:20220524 Changes: -------- --- /work/SRC/openSUSE:Factory/mingw32-filesystem/mingw32-filesystem.changes 2021-12-02 22:31:24.078410334 +0100 +++ /work/SRC/openSUSE:Factory/.mingw32-filesystem.new.2254/mingw32-filesystem.changes 2022-05-24 20:32:17.706969108 +0200 @@ -1,0 +2,11 @@ +Mon May 23 13:58:15 UTC 2022 - Ralf Habacker <ralf.habac...@freenet.de> + +- Update to 20220524 +- On finding provides and requirements do not generate temporary + files in the global temporary directory (boo#1182356) +- Add optional support to add runtime dependencies for import + libraries, see macros.mingw32 for details (boo#1194430) +- Fix warning 'file format not recognized' in mingw32-find-requires.sh + when parsing xxx-config files + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mingw32-filesystem.spec ++++++ --- /var/tmp/diff_new_pack.qCo0ky/_old 2022-05-24 20:32:18.606969911 +0200 +++ /var/tmp/diff_new_pack.qCo0ky/_new 2022-05-24 20:32:18.610969915 +0200 @@ -31,7 +31,7 @@ %define _rpmmacrodir %{_sysconfdir}/rpm %endif Name: mingw32-filesystem -Version: 20210914 +Version: 20220524 Release: 0 Summary: MinGW base filesystem and environment License: GPL-2.0-or-later ++++++ macros.mingw32 ++++++ --- /var/tmp/diff_new_pack.qCo0ky/_old 2022-05-24 20:32:18.690969986 +0200 +++ /var/tmp/diff_new_pack.qCo0ky/_new 2022-05-24 20:32:18.694969990 +0200 @@ -61,8 +61,18 @@ %_mingw32_cache mingw32-config.cache +# setup rpmbuild hooks +# +# To provide project wide import library scanning add this to project config +# Macros: +# %_mingw32_find_requires_scan_implibs 1 +# :Macros +# for a single package add +# %global _mingw32_find_requires_scan_implibs 1 +# to the related spec file +# %_mingw32_findprovides /usr/lib/rpm/mingw32-find-provides.sh -%_mingw32_findrequires /usr/lib/rpm/mingw32-find-requires.sh +%_mingw32_findrequires /usr/lib/rpm/mingw32-find-requires.sh %{?_mingw32_find_requires_scan_implibs:--scan-implibs} %_mingw32_install_post /usr/lib/rpm/mingw32-install-post.sh %_mingw32_find_lang /usr/lib/rpm/mingw32-find-lang.sh %{buildroot} ++++++ mingw32-find-provides.sh ++++++ --- /var/tmp/diff_new_pack.qCo0ky/_old 2022-05-24 20:32:18.802970086 +0200 +++ /var/tmp/diff_new_pack.qCo0ky/_new 2022-05-24 20:32:18.806970089 +0200 @@ -11,13 +11,12 @@ [ -z "$OBJDUMP" ] && OBJDUMP="$host-objdump" -filelist="/tmp/$target-find-provides.$$" -sed "s/['\"]/\\\&/g" >"$filelist" +filelist=`sed "s/['\"]/\\\&/g"` -dlls=$(grep '\.dll$' "$filelist") -pcs=$(grep '\.pc$' "$filelist") -libs=$(grep '\.a$' "$filelist") -cmakes=$(grep '[cC]onfig.cmake$' "$filelist") +dlls=$(echo "$filelist" | grep '\.dll$') +pcs=$(echo "$filelist" | grep '\.pc$') +libs=$(echo "$filelist" | grep '\.a$') +cmakes=$(echo "$filelist" | grep '[cC]onfig.cmake$') for f in $dlls; do [ ! -f "$f" ] && continue @@ -40,6 +39,5 @@ [ ! -f "$h" ] && continue echo $h | /usr/lib/rpm/mingw32-cmake.prov done - -rm "$filelist" +(No newline at EOF) ++++++ mingw32-find-requires.sh ++++++ --- /var/tmp/diff_new_pack.qCo0ky/_old 2022-05-24 20:32:18.826970108 +0200 +++ /var/tmp/diff_new_pack.qCo0ky/_new 2022-05-24 20:32:18.830970111 +0200 @@ -5,6 +5,12 @@ target="mingw32" host="i686-w64-mingw32" +scan_implibs= +if [ "$1" = "--scan-implibs" ]; then + scan_implibs=1 + shift +fi + if [ -n "$1" ]; then package_name="$1" fi @@ -13,8 +19,7 @@ # Get the list of files. -filelist="/tmp/$target-find-requires.$$" -sed "s/['\"]/\\\&/g" >"$filelist" +filelist=`sed "s/['\"]/\\\&/g"` libs_to_exclude=" advapi32 @@ -82,9 +87,9 @@ done -dlls=$(cat "$filelist" | xargs file | grep executable | sed 's,:.*$,,g') -pcs=$(grep '\.pc$' "$filelist") -configs=$(grep 'config$' "$filelist") +dlls=$(echo "$filelist" | grep -v 'config$' | xargs file | grep executable | sed 's,:.*$,,g') +pcs=$(echo "$filelist" | grep '\.pc$') +configs=$(echo "$filelist" | grep 'config$') for f in $dlls; do [ ! -f "$f" ] && continue @@ -94,6 +99,17 @@ sed 's/\(.*\)/'"$target"'(\1)/' done | sort -u +if [ -n "$scan_implibs" ]; then + implibs=$(echo "$filelist" | grep '\.dll.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' | + tr "[:upper:]" "[:lower:]" | + grep -Ev "$exclude_pattern" | + sed 's/\(.*\)/'"$target"'(\1)/' + done | sort -u +fi + ( for g in $pcs; do dirname="${g%/*}" @@ -114,5 +130,3 @@ done ) | sort -u -rm "$filelist" -