From 49fa538ad77f7f5091ded70c5f9cd4e699a90132e0f0ee5df194ccbbacce6489 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Mon, 21 Nov 2022 09:20:31 +0000 Subject: [PATCH] Accepting request 1036609 from home:rhabacker:branches:windows:mingw:win64:issue-1204985-3 - Update to version 20221115 * Fix doc in macros.mingw64 how to define macro _mingw64_find_requires_exclude * Change dependency to mingw64-cross-binutils-utils and mingw64-cross-pkgconf-utils to avoid cyclic dependencies (boo#1204985) ------------------------------------------------------------------ - Fix generating invalid source file path when scanning binaries (boo#1202865) - Update to 20220826 - Speed up objdump scanning binaries for source files (boo#1202431) - Drop dependency on breakpad, since we now have our own mingw-objdump-srcfiles. - Update to 20220805 - Fix for generating the source file list for the debug package (boo#1201107). * Added the script 'mingw-objdump-srcfiles' to determine the source files used by the package in question. * The gawk script is based on a perl script from jengelh, which was not adopted due to an additional runtime dependency. * With this change, *.sym files are no longer included in generated debug packages. * The now obsolete runtime dependency to mingw64-cross-breakpad-tools has been removed - Exclude 'mlang.dll' from automatic runtime library detection required for win_iconv package - Fix spelling in *.changes - Add 'arch-independent-package-contains-binary-or-object' filter also for static libraries (boo#1201173) - When scanning libraries exclude non real dll file names e.g. '%s.dll' - Add missing runtime dependencies (boo#1188144) - Use newer $host-pkgconf - Fix using undefined STRINGS env variable - Update to 20220801 - Fetch real used shared library name from import libraries to avoid file name generation errors, for example with mingw64-glib2 - Scan all archives for shared library names as packages may not use the default import library extension - Fix finding qm files for KDE Frameworks >= 5.76 (taken from rpm-4.14.1) - Update to 20220620 - Add more provides required by libqt5 related packages - Add optional support for excluding runtime DLL dependencies to avoid rebuilding the whole project, see macro %_mingw64_find_requires_exclude in macros.mingw64 for details - 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.mingw64 for details (boo#1194430) - Fix warning 'file format not recognized' in mingw64-find-requires.sh when parsing xxx-config files - Change all version comparisons for Tumbleweed to >= 1550 (instead of == 1550). Anything in Tumbleweed counts for current Tumbleweed plus future CODE branches. Additionally, the Tumbleweed suse_version code is not chiseled in stone. - Fix install path and file format for global rpmlint config file on openSUSE_Tumbleweed (bug boo#1190304, boo#1190438) - Use rpmlint-mini also on Leap 15.x to fix the conflict breakage - Be more verbose when version in generated xxxConfigVersion.cmake files is empty (see https://build.opensuse.org/request/show/915515) - Sync with mingw32 variant - Force rpmlint use and avoid using of rpmlint-mini - Add provides for bcrypt.dll required by mingw64-gdb 10.2 - Add provides for ncrypt.dll required by mingw64-gnutls clients - Move RPM macros to %_rpmmacrodir (boo#1185671) - Move profile.d entries to %_distconfdir - Use %_fileattrsdir macro - Update to 20201105 - Add macro _mingw64_create_macro_links - Add macro _mingw64_gdb and command line wrapper /usr/bin/mingw64-gdb - In mingw64-scripts support rpm macro processing to https://rpm.org/user_doc/macros.htm - Add macro _mingw64_gdb and command line wrapper /usr/bin/mingw64-gdb - Update to 20201017 - Fix bug not keeping quotes in bash arguments provided to mingw64-scripts.sh which is for example required to specify a different cmake generator - Fix architecture in generating cmake provides - Update to 20200825 - Fix * W: non-etc-or-var-file-marked-as-conffile /usr/libexec/rpm/fileattrs/mingw64-cmake.attr * W: non-etc-or-var-file-marked-as-conffile /usr/libexec/rpm/mingw64-cmake.prov * W: script-without-shebang /usr/libexec/rpm/fileattrs/mingw64-cmake.attr * W: non-standard-group Development/Libraries * installing mingw64-scripts on Tumbleweed * not using present rpmlint config for building this package - Add missing Fortran case into macros.mingw64* (boo#1173990) - Fix warning about non standard group (boo#1173189) - Make cmake package support to be more in sync with native package * Add mingw64-cmake.prov and mingw64-cmake.attr ported from native cmake package to support generating mingw64(cmake:xxx) dependencies required by newer KDE Frameworks 5 and other packages. * Move out cmake related macros from macros.mingw64 into macros.mingw64-cmake * Define macro _mingw64_cmake_build * Fix deprecated call to %make_jobs CMake support may be better located in a package named mingw64-cross-cmake but need to be used here until the deprecated dependency generator provided by this package is converted to sets of *.attr/*.prov files. - Add additional man languages 'id' and 'uk' used by KDE Frameworks5 packages - Process debuginfo in a reproducible way (boo#1041090) - Revert -lssp - Add -lssp to the link flags, otherwise building of some packages (like mingw64-cairo) will be aborted with the error 'undefined reference to `__memcpy_chk`'. This library seems not be added by gcc 9.2 automatically. - add macro _mingw64_ldflags_bootstrap for bootstrap packages - Add -fstack-protector to LDFLAGS - disable default debug package only if the mingw debug macro is used - inital package for Factory submission OBS-URL: https://build.opensuse.org/request/show/1036609 OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=151 --- macros.mingw64 | 4 ++-- mingw64-filesystem.changes | 8 ++++++++ mingw64-filesystem.spec | 6 +++--- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/macros.mingw64 b/macros.mingw64 index 733c973..02a742f 100644 --- a/macros.mingw64 +++ b/macros.mingw64 @@ -73,10 +73,10 @@ # # To exclude project wide shared library requirements add this to project config # Macros: -# %_mingw64_find_requires_exclude "d3d12 ..." +# %_mingw64_find_requires_exclude d3d12 ... [%{nil}] # :Macros # for a single package add -# %global _mingw64_find_requires_exclude "d3d12 ..." +# %global _mingw64_find_requires_exclude d3d12 ... [%{nil}] # to the related spec file # %_mingw64_findprovides /usr/lib/rpm/mingw64-find-provides.sh diff --git a/mingw64-filesystem.changes b/mingw64-filesystem.changes index ec97e7a..2e8e3b5 100644 --- a/mingw64-filesystem.changes +++ b/mingw64-filesystem.changes @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Mon Nov 14 08:20:48 UTC 2022 - Ralf Habacker + +- Update to version 20221115 + * Fix doc in macros.mingw64 how to define macro _mingw64_find_requires_exclude + * Change dependency to mingw64-cross-binutils-utils and + mingw64-cross-pkgconf-utils to avoid cyclic dependencies (boo#1204985) + +------------------------------------------------------------------ Mon Aug 29 10:17:22 UTC 2022 - Ralf Habacker - Fix generating invalid source file path when scanning binaries diff --git a/mingw64-filesystem.spec b/mingw64-filesystem.spec index 95c07c9..797d8ef 100644 --- a/mingw64-filesystem.spec +++ b/mingw64-filesystem.spec @@ -31,7 +31,7 @@ %define _rpmmacrodir %{_sysconfdir}/rpm %endif Name: mingw64-filesystem -Version: 20220826 +Version: 20221115 Release: 0 Summary: MinGW base filesystem and environment License: GPL-2.0-or-later @@ -77,8 +77,8 @@ Requires: coreutils Requires: findutils Requires: gawk Requires: grep -Requires: mingw64-cross-binutils -Requires: mingw64-cross-pkgconf +Requires: mingw64-cross-binutils-utils +Requires: mingw64-cross-pkgconf-utils Requires: python3 Requires: rpm Requires: rpmlint-mini