Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package Catch2 for openSUSE:Factory checked in at 2025-08-19 16:43:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/Catch2 (Old) and /work/SRC/openSUSE:Factory/.Catch2.new.1085 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "Catch2" Tue Aug 19 16:43:39 2025 rev:23 rq:1299308 version:3.9.1 Changes: -------- --- /work/SRC/openSUSE:Factory/Catch2/Catch2.changes 2025-05-06 16:38:50.921698451 +0200 +++ /work/SRC/openSUSE:Factory/.Catch2.new.1085/Catch2.changes 2025-08-19 16:44:21.202451492 +0200 @@ -1,0 +2,68 @@ +Sun Aug 10 06:46:50 UTC 2025 - Atri Bhattacharya <badshah...@gmail.com> + +- Update to version 3.9.1: + * Bug fixes: + - Fixed bad error reporting for multiple nested assertions + (gh#catchorg/Catch2#1292). + - Fixed W4702 (unreachable code) in the polyfill for + std::unreachable (gh#catchorg/Catch2#3007). + - Fixed decomposition of assertions comparing enum-backed + bitfields (gh#catchorg/Catch2#3001). + - Fixed StringMaker specialization for + time_point<system_clock> with non-default duration type + (gh#catchorg/Catch2#2685). + * Improvements. + - Exceptions thrown during stringification of decomposed + expression no longer fail the assertion + (gh#catchorg/Catch2#2980). + - The selection logic for CATCH_TRAP prefers + __builtin_debugtrap on all platforms when Catch2 is compiled + with Clang. +- Add Catch2-pkgconfig-install-destdir.patch: Install pkgconfig + file to destdir (gh#catchorg/Catch2#3006); upstream commit. + +------------------------------------------------------------------- +Sat Jul 26 01:13:40 UTC 2025 - Atri Bhattacharya <badshah...@gmail.com> + +- Update to version 3.9.0: + * Features: + - Added experimental opt-in support for thread safe + assertions. + - The default test run order has been changed to random. + - Passing assertions are significantly faster when the + reporter does not ask for assertionEnded events on passing + assertions. + - Small (2-5%) improvement if the reporter asks for + assertionEnded events for passing assertions. + - The exit code constants are part of the Session API. + (gh#catchorg/Catch2#2955, gh#catchorg/Catch2#2976). + - Suppressed unsigned integer overflow checking in locations + with intended overflow (gh#catchorg/Catch2#2965). + - Reporters flush output after writing metadata, e.g. rng seed + (gh#catchorg/Catch2#2964). + - Added unreachable after FAIL and SKIP macros + (gh#catchorg/Catch2#2941). + - Added fast path for assertionStarting event when no reporter + requires it. + - Improved last seen source location tracking to be more + precise. + * Bug fixes: + - Fixed formatting of tags with more than 100 tests in the + default --list-tags output (gh#catchorg/Catch2#2963). + - Fixed Clang-Tidy's + readability-static-accessed-through-instance in tests. + - Fixed most of Clang-Tidy's + cppcoreguidelines-avoid-non-const-global-variables + (gh#catchorg/Catch2#2582). + - The lifetime of scoped messages now strictly obeys their + scope (gh#catchorg/Catch2#1759, gh#catchorg/Catch2#2019, + gh#catchorg/Catch2#2959). + - TEMPLATE_TEST_CASE_SIG can handle signatures consisting of + only types (gh#catchorg/Catch2#2680, + gh#catchorg/Catch2#2995). + - Moved catch_test_run_info.hpp up from internal/ subfolder + into the main one (gh#catchorg/Catch2#2972). + * Miscellaneous: pkg-config files are now generated at install + time (gh#catchorg/Catch2#2979). + +------------------------------------------------------------------- Old: ---- Catch2-3.8.1.tar.gz New: ---- Catch2-3.9.1.tar.gz Catch2-pkgconfig-install-destdir.patch ----------(New B)---------- New: with Clang. - Add Catch2-pkgconfig-install-destdir.patch: Install pkgconfig file to destdir (gh#catchorg/Catch2#3006); upstream commit. ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ Catch2.spec ++++++ --- /var/tmp/diff_new_pack.V8KepC/_old 2025-08-19 16:44:22.946524101 +0200 +++ /var/tmp/diff_new_pack.V8KepC/_new 2025-08-19 16:44:22.958524600 +0200 @@ -1,7 +1,7 @@ # # spec file for package Catch2 # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,12 +18,14 @@ %define __builder ninja Name: Catch2 -Version: 3.8.1 +Version: 3.9.1 Release: 0 Summary: A modern, C++-native, header-only, test framework for unit-tests, TDD and BDD License: BSL-1.0 -URL: https://github.com/catchorg/%{name}/ -Source: https://github.com/catchorg/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +URL: https://github.com/catchorg/%{name} +Source: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM +Patch0: https://github.com/catchorg/Catch2/commit/7cad6d75390668ad2b6bec8432a2e408a992e1bf.patch#/Catch2-pkgconfig-install-destdir.patch BuildRequires: cmake >= 3.10 BuildRequires: gcc-c++ >= 6 BuildRequires: ninja @@ -51,7 +53,7 @@ %cmake -DCMAKE_BUILD_TYPE=Release \ -DBUILD_SHARED_LIBS:BOOL=OFF \ -DCMAKE_INSTALL_DOCDIR:PATH=%{_defaultdocdir}/%{name} \ - -DPKGCONFIG_INSTALL_DIR:PATH=%{_libdir}/pkgconfig + -DPKGCONFIG_INSTALL_DIR:PATH=%{_lib}/pkgconfig %cmake_build %install ++++++ Catch2-3.8.1.tar.gz -> Catch2-3.9.1.tar.gz ++++++ ++++ 13380 lines of diff (skipped) ++++++ Catch2-pkgconfig-install-destdir.patch ++++++ >From 7cad6d75390668ad2b6bec8432a2e408a992e1bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= <martin.horenov...@gmail.com> Date: Sat, 9 Aug 2025 23:05:08 +0200 Subject: [PATCH] Handle DESTDIR env var when generating pkgconfig files Having the ability to configure the installation path at config time, and the ability to change the prefix at install time is not enough, apparently people also use env var to redirect them instead. Closes #3006 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4b4e4f58c2..33377f5d34 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -198,14 +198,14 @@ if(NOT_SUBPROJECT) set(lib_name "$<TARGET_FILE_BASE_NAME:Catch2>") configure_file( "${impl_pc_file}" - "${CMAKE_INSTALL_PREFIX}/${install_pkgconfdir}/catch2.pc" + "$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}/${install_pkgconfdir}/catch2.pc" @ONLY ) set(lib_name "$<TARGET_FILE_BASE_NAME:Catch2WithMain>") configure_file( "${main_pc_file}" - "${CMAKE_INSTALL_PREFIX}/${install_pkgconfdir}/catch2-with-main.pc" + "$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}/${install_pkgconfdir}/catch2-with-main.pc" @ONLY ) ]]