Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package cmake for openSUSE:Factory checked in at 2026-06-23 17:35:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cmake (Old) and /work/SRC/openSUSE:Factory/.cmake.new.1956 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cmake" Tue Jun 23 17:35:08 2026 rev:275 rq:1360733 version:4.3.4 Changes: -------- --- /work/SRC/openSUSE:Factory/cmake/cmake.changes 2026-02-05 17:56:37.270092038 +0100 +++ /work/SRC/openSUSE:Factory/.cmake.new.1956/cmake.changes 2026-06-23 17:35:14.802526750 +0200 @@ -1,0 +2,66 @@ +Thu Jun 18 15:21:12 UTC 2026 - Christoph G <[email protected]> + +- Reintroduce "cmake-fix-ruby-test.patch", this time as an + commit from upstream, see + https://gitlab.kitware.com/cmake/cmake/-/merge_requests/12189 + +------------------------------------------------------------------- +Wed Jun 17 19:38:53 UTC 2026 - Christoph G <[email protected]> + +- update to 4.3.4 + * cmake-instrumentation(7), introduced in 4.3.0, has been changed + to generate index files and snippet files with a new version + field format. +- update to 4.3.3 + * The export(PACKAGE_INFO) command now writes to the + cps/<package-name> subdirectory of the current build directory, + rather than directly to the current build directory. +------------------------------------------------------------------- +Wed Apr 22 20:53:04 UTC 2026 - Christoph G <[email protected]> + +- update to 4.3.2 + * file(CREATE_LINK): Fix CMP0205 to not remove content behind + directory symlink + * string(REGEX MATCH): Restore reporting of matches with + string(REGEX MATCH): Restore reporting of matches with semicolonssemicolons + +------------------------------------------------------------------- +Tue Mar 31 14:49:52 UTC 2026 - Christoph G <[email protected]> + +- Exclude test RunCMake.CommandLineTar on 32-bit to work + around bug in zstd. + +------------------------------------------------------------------- +Sat Mar 28 13:27:01 UTC 2026 - Andreas Stieger <[email protected]> + +- update to 4.3.1: + * Tests: fix RunCMake.CommandLineTar + * Fixes affecting some C++ consumers + +------------------------------------------------------------------- +Thu Mar 19 06:01:36 UTC 2026 - Christoph G <[email protected]> + +- update to 4.3.0 + * Support for importing and exporting packages described using the + Common Package Specification (CPS) was added. + * cmake-instrumentation was added to enable collection of timing + data, target information, and system diagnostic information during + the configure, generate, build, test, and install steps of a CMake + project + * cmake --build supports specifying a build directory and preset + together. The build preset will be used with the explicit build + directory substituted. + * The "cmake -E bin2c" command-line tool was added. + * CMake archive operations gained support for multithreading, + compression levels, and new compression methods. + * The "get_property()" and "set_property()" commands now support a + "FILE_SET" scope for file set properties of a target. + * The CMAKE_<LANG>_LINK_FLAGS and CMAKE_<LANG>_LINK_FLAGS_<CONFIG> + variables were added to support per-language link flags for all + target types. + * "$<STRING:...>" generator expressions were added for query, + generation, and transformation operations on strings. +- Drop cmake-fix-ruby-test.patch as the use of Ruby_HAS_VENDOR_RUBY + is obsolete, use Ruby gems and bundler instead. + +------------------------------------------------------------------- @@ -72,0 +139,28 @@ + +------------------------------------------------------------------- +Sat Oct 25 11:28:39 UTC 2025 - Mia Herkt <[email protected]> + +* Add RPM 4.20 declarative build system macros + + The feature is supported in Leap 16.0 and newer, so now is + probably a good time to make it available to packagers. + + This allows reducing most spec file boilerplate to a simple + `BuildSystem: cmake`: The `%cmake*` macros can generally be + omitted entirely, and extra steps added by using the + `-a`(ppend) or `-p`(repend) flag on the corresponding section. + Ideally, all relevant sections - `%prep`, `%conf`, `%build`, + `%install`, and `%check` - can be omitted as well. + + Options can be specified in the preamble using one or more + `BuildOption:` (or e.g. `BuildOption(check):`) tags, which + makes them less of a pain to use with conditional switches + and also allows grouping build requirements with their + corresponding build system options. + + Real-world benefit is likely a bit smaller than with e.g. Meson + considering CMake-based projects often require extra steps to + bring them into compliance with openSUSE packaging guidelines, + but maybe the promise of clean and concise spec files provides + some encouragement for writing and upstreaming patches to iron + out those build system flaws ;) Old: ---- cmake-4.2.3-SHA-256.txt cmake-4.2.3-SHA-256.txt.asc cmake-4.2.3.tar.gz New: ---- cmake-4.3.4-SHA-256.txt cmake-4.3.4-SHA-256.txt.asc cmake-4.3.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cmake.spec ++++++ --- /var/tmp/diff_new_pack.QaXWiC/_old 2026-06-23 17:35:17.030604388 +0200 +++ /var/tmp/diff_new_pack.QaXWiC/_new 2026-06-23 17:35:17.030604388 +0200 @@ -2,7 +2,7 @@ # spec file for package cmake # # Copyright (c) 2026 SUSE LLC and contributors -# Copyright (c) 2025 Andreas Stieger <[email protected]> +# Copyright (c) 2026 Andreas Stieger <[email protected]> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -51,7 +51,7 @@ %define pyver 3 %endif Name: cmake%{?psuffix} -Version: 4.2.3 +Version: 4.3.4 Release: 0 Summary: Cross-platform make system License: BSD-3-Clause @@ -68,9 +68,10 @@ # https://gitlab.kitware.com/cmake/cmake/-/blob/261b7b933c66/Modules/FindLua.cmake Source50: FindLua.cmake Source99: README.SUSE -Patch0: cmake-fix-ruby-test.patch # Search for python interpreters from newest to oldest rather then picking up /usr/bin/python as first choice Patch1: feature-suse-python-interp-search-order.patch +# # PATCH-FIX-UPSTREAM https://gitlab.kitware.com/cmake/cmake/-/merge_requests/12189 +Patch2: cmake-fix-ruby-test.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: pkgconfig @@ -257,8 +258,9 @@ %else # dont' run failing test on 32-bit architectures due to year 2038 issue # dont' run Tutorial due to SSE issues https://gitlab.kitware.com/cmake/cmake/-/issues/27569 +# dont' run CommandLineTar to avoid zstd bug https://gitlab.kitware.com/cmake/cmake/-/work_items/27712 ./bin/ctest --output-on-failure %{?_smp_mflags} \ - -E "(TestUpload|SimpleInstall|SimpleInstall-Stage2|CPackComponentsForAll-RPM-(default|OnePackPerGroup|IgnoreGroup|AllInOne)|CPack_RPM|RunCMake.string|Tutorial)" + -E "(TestUpload|SimpleInstall|SimpleInstall-Stage2|CPackComponentsForAll-RPM-(default|OnePackPerGroup|IgnoreGroup|AllInOne)|CPack_RPM|RunCMake.string|Tutorial|CommandLineTar)" %endif %endif ++++++ cmake-4.2.3-SHA-256.txt -> cmake-4.3.4-SHA-256.txt ++++++ --- /work/SRC/openSUSE:Factory/cmake/cmake-4.2.3-SHA-256.txt 2026-02-05 17:56:36.794072047 +0100 +++ /work/SRC/openSUSE:Factory/.cmake.new.1956/cmake-4.3.4-SHA-256.txt 2026-06-23 17:35:13.138468767 +0200 @@ -1,21 +1,21 @@ -e6ce51721f6409682aacb16f575d6e24510c19270dea77976a5354413f57380f cmake-4.2.3-files-v1.json -8e65cb924c41e3f6c5c98d1900aeeab3cfe3494f18ed8e5e63b91022df710401 cmake-4.2.3-linux-aarch64.sh -e529c75f18f27ba27c52b329efe7b1f98dc32ccc0c6d193c7ab343f888962672 cmake-4.2.3-linux-aarch64.tar.gz -b760514fde7fc510fcd16e51a81a4d2687b1f051b263d40b6806789d3d9fd62c cmake-4.2.3-linux-x86_64.sh -5bb505d5e0cca0480a330f7f27ccf52c2b8b5214c5bba97df08899f5ef650c23 cmake-4.2.3-linux-x86_64.tar.gz -d3ac47185cbad9e264d7afac18eb964139f90a641f8442189e64d1da388f120d cmake-4.2.3-macos-universal.dmg -c2302d3e9c48daabee5ea7c4db4b2b93b989bcc89dae8b760880e00120641b5b cmake-4.2.3-macos-universal.tar.gz -da2f41884400922fd396d774530a90e9f2ba8fbb404d8a1c629a02b767c78265 cmake-4.2.3-macos10.10-universal.dmg -910b965a6fc72928412dd369c957643ff17a0990cc2435a2573b04c1352d9ff3 cmake-4.2.3-macos10.10-universal.tar.gz -4a8f2d2d7e5013c2e23755ee98c4280decac7fe2c822f55a366cd895a5bf5a7d cmake-4.2.3-sunos-sparc64.sh -a6d6655ab46be0d96c2a130424d177f9d5c7517c652725ab9cf5bb67120e8741 cmake-4.2.3-sunos-sparc64.tar.gz -b244ab22d42e576247b289c0761ed83d117eda837d389cf41926a7e06938b2b1 cmake-4.2.3-sunos-x86_64.sh -256bde21a5b935cfde5a9e91929b1b9e2d332db8e8ca74d2cce160724a395cbc cmake-4.2.3-sunos-x86_64.tar.gz -4fdfd91a0093e76c829b1952b0d7c67779fef6876ada60204c8ba2cd3b8562e9 cmake-4.2.3-windows-arm64.msi -751b206b1cf65151b72c525d26267c1d9beebf8fafc365ae00286571d9fd3ed9 cmake-4.2.3-windows-arm64.zip -127346fbcba783401de160c93f2bb443ba0402bc5f3a683ccae63de34726256b cmake-4.2.3-windows-i386.msi -ad46d82c99a818a2cdd694fe82bec99f0cb557d864dc5fff5d54d347c7cdd98f cmake-4.2.3-windows-i386.zip -aa84ae115fc962c6691ec972548c7f7435bd9e7696c9d0487c8bd3a285277ed6 cmake-4.2.3-windows-x86_64.msi -eb4ebf5155dbb05436d675706b2a08189430df58904257ae5e91bcba4c86933c cmake-4.2.3-windows-x86_64.zip -7efaccde8c5a6b2968bad6ce0fe60e19b6e10701a12fce948c2bf79bac8a11e9 cmake-4.2.3.tar.gz -444715a33dc8bcb03221fcb4e849b948fc4392005c5abc52e2c7abbcb158374b cmake-4.2.3.zip +179bb72c76c66c5743a33bc20313e8f1ad105c0908f4c549e12ce16ebbd038a8 cmake-4.3.4-files-v1.json +23a9c12b49692b207c1abdc9d03a22a3ed9a35e650020173ed6634574d1c0dce cmake-4.3.4-linux-aarch64.sh +56a8014a8f28b8ff9cbe2c6fa8beebc028ac5b1987195d122b847fb486dc5282 cmake-4.3.4-linux-aarch64.tar.gz +b0b61ae426a0d1130642a3287eb5c7f5ef6f88966fd42e2aed9656ec69d42415 cmake-4.3.4-linux-x86_64.sh +ca6f08ccbd5e6b0a9068d33317d0d1aff7278d08cccaed4529b8fbead7942a68 cmake-4.3.4-linux-x86_64.tar.gz +2aacd32eaaca88e2edcb29a892ff3d34db3f93ac09d9751aebef38e9ac80dd69 cmake-4.3.4-macos-universal.dmg +bf6647c78ac295c54dbe0a094d4428f495be93c1f810fd8bde57374e8b548523 cmake-4.3.4-macos-universal.tar.gz +a61a06d841c4cbecb819f11d6dcbfd21e0878ba20990d29f1acdb7360b30bc1d cmake-4.3.4-macos10.10-universal.dmg +fd891a2cd1c13a9678d5128523dad4c951f2e364c0e4b0e77f393c7ebb532dc0 cmake-4.3.4-macos10.10-universal.tar.gz +c2aaf0fa32927eb4eeb343519903b63245dc0a9cdd19deb6813bbeb4aca23ac7 cmake-4.3.4-sunos-sparc64.sh +62358e2a541863d4c921a3c17384d7f59e9ba1996e0136f7577c0e1390c82348 cmake-4.3.4-sunos-sparc64.tar.gz +d0e9e3c3c8be64df2a64ff9fbd747146197212c51696af96839122b5cc987cd2 cmake-4.3.4-sunos-x86_64.sh +3c458c9c692ef8588bc110909078c2f5cb0508ed3ecb41fcaa249084630fa252 cmake-4.3.4-sunos-x86_64.tar.gz +91a70d399778bf510790462edf112dccb3e5dcacf763ef392ebfc5b251a5589f cmake-4.3.4-windows-arm64.msi +91a59ca6ffbcec18e1fb05431fa22f538ab615b6e525d1bfd0b8dd67a4d45685 cmake-4.3.4-windows-arm64.zip +370b81c753916d89eda85e63590e72124569b661b0f47bb1bad53a3834800592 cmake-4.3.4-windows-i386.msi +d41f361d4f06e4eac4ad6220109155b7af9ae114229a6102c58d96e1a9590e36 cmake-4.3.4-windows-i386.zip +6f54ab92a19bf7d6695a40f3a774a8d1a54e90730c726fad8afb44544db892da cmake-4.3.4-windows-x86_64.msi +86e5fcafb38bdf58346a78b187c7b6b4f252ae5242cffe24c463a92bbd2e77d1 cmake-4.3.4-windows-x86_64.zip +fdeff897b9eb49d764539f2b1edc6eb7e1440df325678a97c1978499e931adda cmake-4.3.4.tar.gz +772aecd57adb96b480e50b3e1538ec35b0738845515b15b917bd8377f6b8199d cmake-4.3.4.zip ++++++ cmake-4.2.3.tar.gz -> cmake-4.3.4.tar.gz ++++++ /work/SRC/openSUSE:Factory/cmake/cmake-4.2.3.tar.gz /work/SRC/openSUSE:Factory/.cmake.new.1956/cmake-4.3.4.tar.gz differ: char 16, line 1 ++++++ cmake-fix-ruby-test.patch ++++++ --- /var/tmp/diff_new_pack.QaXWiC/_old 2026-06-23 17:35:17.190609963 +0200 +++ /var/tmp/diff_new_pack.QaXWiC/_new 2026-06-23 17:35:17.194610103 +0200 @@ -1,14 +1,37 @@ -Index: cmake-4.0.0/Modules/FindRuby.cmake -=================================================================== ---- cmake-4.0.0.orig/Modules/FindRuby.cmake -+++ cmake-4.0.0/Modules/FindRuby.cmake -@@ -286,7 +286,7 @@ if (Ruby_EXECUTABLE AND NOT Ruby_EXECUTA +From c4ee728699845672c770350aba8bbbf5bab9869f Mon Sep 17 00:00:00 2001 +From: Brad King <[email protected]> +Date: Thu, 18 Jun 2026 10:38:51 -0400 +Subject: [PATCH] FindRuby: Fix vendor directory discovery + +The `ruby -r vendor-specific` module no longer exists. +Use `ruby -r rbconfig` instead. + +This patch has been carried by openSUSE's cmake package: + +* https://build.opensuse.org/projects/openSUSE:Factory/packages/cmake/files/cmake-fix-ruby-test.patch?rev=274 +* https://build.opensuse.org/package/rdiff/openSUSE:Factory/cmake?rev=106 +* https://build.opensuse.org/package/rdiff/openSUSE:Factory/cmake?rev=57 +* https://build.opensuse.org/package/rdiff/openSUSE:Factory/cmake?rev=56 + +Fixes: #27888 +--- + Modules/FindRuby.cmake | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Modules/FindRuby.cmake b/Modules/FindRuby.cmake +index 863f70a7f2..6f865da129 100644 +--- a/Modules/FindRuby.cmake ++++ b/Modules/FindRuby.cmake +@@ -407,7 +407,7 @@ if (Ruby_EXECUTABLE AND NOT Ruby_EXECUTABLE STREQUAL "${_Ruby_EXECUTABLE_LAST_QU _RUBY_CONFIG_VAR("sitelibdir" Ruby_SITELIB_DIR) - # vendor_ruby available ? -- execute_process(COMMAND ${Ruby_EXECUTABLE} -r vendor-specific -e "print 'true'" + # vendor_ruby - TODO - Not relevant and should be removed. +- execute_process(COMMAND "${Ruby_EXECUTABLE}" -r vendor-specific -e "print 'true'" + execute_process(COMMAND ${Ruby_EXECUTABLE} -r rbconfig -e "print 'true' unless RbConfig::CONFIG['vendorarchdir'].nil?" OUTPUT_VARIABLE Ruby_HAS_VENDOR_RUBY ERROR_QUIET) if (Ruby_HAS_VENDOR_RUBY) +-- +GitLab + ++++++ cmake.macros ++++++ --- /var/tmp/diff_new_pack.QaXWiC/_old 2026-06-23 17:35:17.254612193 +0200 +++ /var/tmp/diff_new_pack.QaXWiC/_new 2026-06-23 17:35:17.254612193 +0200 @@ -82,3 +82,10 @@ %__ctest --output-on-failure --force-new-ctest-process %{?_smp_mflags} %** ; \ cd .. +# Declarative build system, requires RPM 4.20+ to work +# https://rpm-software-management.github.io/rpm/manual/buildsystem.html +%buildsystem_cmake_conf() %cmake %* +%buildsystem_cmake_build() %cmake_build -C %__builddir %* +%buildsystem_cmake_install() %cmake_install %* +%buildsystem_cmake_check() %ctest %* +
