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-05-06 16:38:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/Catch2 (Old)
 and      /work/SRC/openSUSE:Factory/.Catch2.new.30101 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "Catch2"

Tue May  6 16:38:25 2025 rev:22 rq:1274247 version:3.8.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/Catch2/Catch2.changes    2025-01-28 
14:58:24.240128989 +0100
+++ /work/SRC/openSUSE:Factory/.Catch2.new.30101/Catch2.changes 2025-05-06 
16:38:50.921698451 +0200
@@ -1,0 +2,9 @@
+Wed Apr 30 13:09:06 UTC 2025 - Atri Bhattacharya <[email protected]>
+
+- Update to version 3.8.1:
+  * Fixed bug where catch_discover_tests fails when no TEST_CASEs
+    are present (gh#catchorg/Catch2#2962).
+  * Fixed Clang 19 -Wc++20-extensions warning
+    (gh#catchorg/Catch2#2968).
+
+-------------------------------------------------------------------

Old:
----
  Catch2-3.8.0.tar.gz

New:
----
  Catch2-3.8.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ Catch2.spec ++++++
--- /var/tmp/diff_new_pack.KxACrn/_old  2025-05-06 16:38:51.441720184 +0200
+++ /var/tmp/diff_new_pack.KxACrn/_new  2025-05-06 16:38:51.441720184 +0200
@@ -18,7 +18,7 @@
 
 %define __builder ninja
 Name:           Catch2
-Version:        3.8.0
+Version:        3.8.1
 Release:        0
 Summary:        A modern, C++-native, header-only, test framework for 
unit-tests, TDD and BDD
 License:        BSL-1.0

++++++ Catch2-3.8.0.tar.gz -> Catch2-3.8.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Catch2-3.8.0/CMakeLists.txt 
new/Catch2-3.8.1/CMakeLists.txt
--- old/Catch2-3.8.0/CMakeLists.txt     2025-01-06 00:41:45.000000000 +0100
+++ new/Catch2-3.8.1/CMakeLists.txt     2025-04-08 20:40:18.000000000 +0200
@@ -35,7 +35,7 @@
 endif()
 
 project(Catch2
-  VERSION 3.8.0 # CML version placeholder, don't delete
+  VERSION 3.8.1 # CML version placeholder, don't delete
   LANGUAGES CXX
   HOMEPAGE_URL "https://github.com/catchorg/Catch2";
   DESCRIPTION "A modern, C++-native, unit test framework."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Catch2-3.8.0/docs/release-notes.md 
new/Catch2-3.8.1/docs/release-notes.md
--- old/Catch2-3.8.0/docs/release-notes.md      2025-01-06 00:41:45.000000000 
+0100
+++ new/Catch2-3.8.1/docs/release-notes.md      2025-04-08 20:40:18.000000000 
+0200
@@ -2,6 +2,7 @@
 
 # Release notes
 **Contents**<br>
+[3.8.1](#381)<br>
 [3.8.0](#380)<br>
 [3.7.1](#371)<br>
 [3.7.0](#370)<br>
@@ -66,6 +67,13 @@
 [Even Older versions](#even-older-versions)<br>
 
 
+## 3.8.1
+
+### Fixes
+* Fixed bug where catch_discover_tests fails when no TEST_CASEs are present 
(#2962)
+* Fixed Clang 19 -Wc++20-extensions warning (#2968)
+
+
 ## 3.8.0
 
 ### Improvements
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Catch2-3.8.0/extras/CatchAddTests.cmake 
new/Catch2-3.8.1/extras/CatchAddTests.cmake
--- old/Catch2-3.8.0/extras/CatchAddTests.cmake 2025-01-06 00:41:45.000000000 
+0100
+++ new/Catch2-3.8.1/extras/CatchAddTests.cmake 2025-04-08 20:40:18.000000000 
+0200
@@ -143,6 +143,12 @@
   # Speed-up reparsing by cutting away unneeded parts of JSON.
   string(JSON test_listing GET "${listing_output}" "listings" "tests")
   string(JSON num_tests LENGTH "${test_listing}")
+
+  # Exit early if no tests are detected
+  if(num_tests STREQUAL "0")
+    return()
+  endif()
+
   # CMake's foreach-RANGE is inclusive, so we have to subtract 1
   math(EXPR num_tests "${num_tests} - 1")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Catch2-3.8.0/extras/catch_amalgamated.cpp 
new/Catch2-3.8.1/extras/catch_amalgamated.cpp
--- old/Catch2-3.8.0/extras/catch_amalgamated.cpp       2025-01-06 
00:41:45.000000000 +0100
+++ new/Catch2-3.8.1/extras/catch_amalgamated.cpp       2025-04-08 
20:40:18.000000000 +0200
@@ -6,8 +6,8 @@
 
 // SPDX-License-Identifier: BSL-1.0
 
-//  Catch v3.8.0
-//  Generated: 2025-01-06 00:39:54.679994
+//  Catch v3.8.1
+//  Generated: 2025-04-08 12:33:19.863332
 //  ----------------------------------------------------------
 //  This file is an amalgamation of multiple different files.
 //  You probably shouldn't edit it directly.
@@ -2283,7 +2283,7 @@
     }
 
     Version const& libraryVersion() {
-        static Version version( 3, 8, 0, "", 0 );
+        static Version version( 3, 8, 1, "", 0 );
         return version;
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Catch2-3.8.0/extras/catch_amalgamated.hpp 
new/Catch2-3.8.1/extras/catch_amalgamated.hpp
--- old/Catch2-3.8.0/extras/catch_amalgamated.hpp       2025-01-06 
00:41:45.000000000 +0100
+++ new/Catch2-3.8.1/extras/catch_amalgamated.hpp       2025-04-08 
20:40:18.000000000 +0200
@@ -6,8 +6,8 @@
 
 // SPDX-License-Identifier: BSL-1.0
 
-//  Catch v3.8.0
-//  Generated: 2025-01-06 00:39:54.340018
+//  Catch v3.8.1
+//  Generated: 2025-04-08 12:33:19.851017
 //  ----------------------------------------------------------
 //  This file is an amalgamation of multiple different files.
 //  You probably shouldn't edit it directly.
@@ -191,8 +191,16 @@
 #    define CATCH_INTERNAL_SUPPRESS_UNUSED_VARIABLE_WARNINGS \
          _Pragma( "clang diagnostic ignored \"-Wunused-variable\"" )
 
-#    define CATCH_INTERNAL_SUPPRESS_ZERO_VARIADIC_WARNINGS \
-         _Pragma( "clang diagnostic ignored 
\"-Wgnu-zero-variadic-macro-arguments\"" )
+#    if (__clang_major__ >= 20)
+#        define CATCH_INTERNAL_SUPPRESS_ZERO_VARIADIC_WARNINGS \
+             _Pragma( "clang diagnostic ignored 
\"-Wvariadic-macro-arguments-omitted\"" )
+#    elif (__clang_major__ == 19)
+#        define CATCH_INTERNAL_SUPPRESS_ZERO_VARIADIC_WARNINGS \
+                _Pragma( "clang diagnostic ignored \"-Wc++20-extensions\"" )
+#    else
+#        define CATCH_INTERNAL_SUPPRESS_ZERO_VARIADIC_WARNINGS
+             _Pragma( "clang diagnostic ignored 
\"-Wgnu-zero-variadic-macro-arguments\"" )
+#    endif
 
 #    define CATCH_INTERNAL_SUPPRESS_UNUSED_TEMPLATE_WARNINGS \
          _Pragma( "clang diagnostic ignored \"-Wunused-template\"" )
@@ -7342,7 +7350,7 @@
 
 #define CATCH_VERSION_MAJOR 3
 #define CATCH_VERSION_MINOR 8
-#define CATCH_VERSION_PATCH 0
+#define CATCH_VERSION_PATCH 1
 
 #endif // CATCH_VERSION_MACROS_HPP_INCLUDED
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Catch2-3.8.0/meson.build new/Catch2-3.8.1/meson.build
--- old/Catch2-3.8.0/meson.build        2025-01-06 00:41:45.000000000 +0100
+++ new/Catch2-3.8.1/meson.build        2025-04-08 20:40:18.000000000 +0200
@@ -8,7 +8,7 @@
 project(
   'catch2',
   'cpp',
-  version: '3.8.0', # CML version placeholder, don't delete
+  version: '3.8.1', # CML version placeholder, don't delete
   license: 'BSL-1.0',
   meson_version: '>=0.54.1',
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Catch2-3.8.0/src/catch2/catch_version.cpp 
new/Catch2-3.8.1/src/catch2/catch_version.cpp
--- old/Catch2-3.8.0/src/catch2/catch_version.cpp       2025-01-06 
00:41:45.000000000 +0100
+++ new/Catch2-3.8.1/src/catch2/catch_version.cpp       2025-04-08 
20:40:18.000000000 +0200
@@ -36,7 +36,7 @@
     }
 
     Version const& libraryVersion() {
-        static Version version( 3, 8, 0, "", 0 );
+        static Version version( 3, 8, 1, "", 0 );
         return version;
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Catch2-3.8.0/src/catch2/catch_version_macros.hpp 
new/Catch2-3.8.1/src/catch2/catch_version_macros.hpp
--- old/Catch2-3.8.0/src/catch2/catch_version_macros.hpp        2025-01-06 
00:41:45.000000000 +0100
+++ new/Catch2-3.8.1/src/catch2/catch_version_macros.hpp        2025-04-08 
20:40:18.000000000 +0200
@@ -10,6 +10,6 @@
 
 #define CATCH_VERSION_MAJOR 3
 #define CATCH_VERSION_MINOR 8
-#define CATCH_VERSION_PATCH 0
+#define CATCH_VERSION_PATCH 1
 
 #endif // CATCH_VERSION_MACROS_HPP_INCLUDED
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Catch2-3.8.0/src/catch2/internal/catch_compiler_capabilities.hpp 
new/Catch2-3.8.1/src/catch2/internal/catch_compiler_capabilities.hpp
--- old/Catch2-3.8.0/src/catch2/internal/catch_compiler_capabilities.hpp        
2025-01-06 00:41:45.000000000 +0100
+++ new/Catch2-3.8.1/src/catch2/internal/catch_compiler_capabilities.hpp        
2025-04-08 20:40:18.000000000 +0200
@@ -103,8 +103,16 @@
 #    define CATCH_INTERNAL_SUPPRESS_UNUSED_VARIABLE_WARNINGS \
          _Pragma( "clang diagnostic ignored \"-Wunused-variable\"" )
 
-#    define CATCH_INTERNAL_SUPPRESS_ZERO_VARIADIC_WARNINGS \
-         _Pragma( "clang diagnostic ignored 
\"-Wgnu-zero-variadic-macro-arguments\"" )
+#    if (__clang_major__ >= 20)
+#        define CATCH_INTERNAL_SUPPRESS_ZERO_VARIADIC_WARNINGS \
+             _Pragma( "clang diagnostic ignored 
\"-Wvariadic-macro-arguments-omitted\"" )
+#    elif (__clang_major__ == 19)
+#        define CATCH_INTERNAL_SUPPRESS_ZERO_VARIADIC_WARNINGS \
+                _Pragma( "clang diagnostic ignored \"-Wc++20-extensions\"" )
+#    else
+#        define CATCH_INTERNAL_SUPPRESS_ZERO_VARIADIC_WARNINGS
+             _Pragma( "clang diagnostic ignored 
\"-Wgnu-zero-variadic-macro-arguments\"" )
+#    endif
 
 #    define CATCH_INTERNAL_SUPPRESS_UNUSED_TEMPLATE_WARNINGS \
          _Pragma( "clang diagnostic ignored \"-Wunused-template\"" )

Reply via email to