From b4bf4d3a8fb375e6dd8ab1ec281c0fe09376b0f0871a8f81312644efbd1c122b Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 30 Jul 2023 09:41:16 +0000 Subject: [PATCH] Accepting request 1101071 from home:badshah400:branches:devel:libraries:c_c++ * Update to version 3.4.0. * Use ninja for build. OBS-URL: https://build.opensuse.org/request/show/1101071 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/Catch2?expand=0&rev=26 --- Catch2-3.3.2.tar.gz | 3 --- Catch2-3.4.0.tar.gz | 3 +++ Catch2.changes | 30 ++++++++++++++++++++++++++++++ Catch2.spec | 14 +++++++------- 4 files changed, 40 insertions(+), 10 deletions(-) delete mode 100644 Catch2-3.3.2.tar.gz create mode 100644 Catch2-3.4.0.tar.gz diff --git a/Catch2-3.3.2.tar.gz b/Catch2-3.3.2.tar.gz deleted file mode 100644 index bc291cf..0000000 --- a/Catch2-3.3.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8361907f4d9bff3ae7c1edb027f813659f793053c99b67837a0c0375f065bae2 -size 1102862 diff --git a/Catch2-3.4.0.tar.gz b/Catch2-3.4.0.tar.gz new file mode 100644 index 0000000..efcf17b --- /dev/null +++ b/Catch2-3.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:122928b814b75717316c71af69bd2b43387643ba076a6ec16e7882bfb2dfacbb +size 1112790 diff --git a/Catch2.changes b/Catch2.changes index ebe70de..631c090 100644 --- a/Catch2.changes +++ b/Catch2.changes @@ -1,3 +1,33 @@ +------------------------------------------------------------------- +Thu Jul 27 12:12:56 UTC 2023 - Atri Bhattacharya + +- Update to version 3.4.0: + * VectorEquals supports elements that provide only == and not != + (gh#catchorg/Catch2#2648). + * Catch2 supports compiling with IAR compiler + (gh#catchorg/Catch2#2651). + * Various small internal performance improvements. + * Various small internal compilation time improvements. + * XMLReporter now reports location info for INFO and WARN + (gh#catchorg/Catch2#1251). + * Documented that SKIP in generator constructor can be used to + handle empty generator (gh#catchorg/Catch2#1593). + * Added experimental static analysis support to TEST_CASE and + SECTION macros (gh#catchorg/Catch2#2681). + * *_THROWS, *_THROWS_AS, etc now suppress warning coming from + __attribute__((warn_unused_result)) on GCC + (gh#catchorg/Catch2#2691). + * Fixed assertionStarting events being sent after the expr is + evaluated (gh#catchorg/Catch2#2678). + * Errors in TEST_CASE tags are now reported nicely + (gh#catchorg/Catch2#2650). + * Bunch of improvements to catch_discover_tests. + * meson build can disable building tests + (gh#catchorg/Catch2#2693). + * meson build properly sets meson version 0.54.1 as the minimal + supported version (gh#catchorg/Catch2#2688). +- Use ninja for build. + ------------------------------------------------------------------- Tue Mar 7 19:52:50 UTC 2023 - Dirk Müller diff --git a/Catch2.spec b/Catch2.spec index 7488d9d..3a6c0e2 100644 --- a/Catch2.spec +++ b/Catch2.spec @@ -16,8 +16,9 @@ # +%define __builder ninja Name: Catch2 -Version: 3.3.2 +Version: 3.4.0 Release: 0 Summary: A modern, C++-native, header-only, test framework for unit-tests, TDD and BDD License: BSL-1.0 @@ -25,7 +26,9 @@ URL: https://github.com/catchorg/%{name}/ Source: https://github.com/catchorg/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: cmake >= 3.10 BuildRequires: gcc-c++ >= 6 +BuildRequires: ninja BuildRequires: pkgconfig +BuildRequires: python3 %description Catch2 stands for C++ Automated Test Cases in a Header and is a multi-paradigm @@ -46,17 +49,14 @@ It also provides basic micro-benchmarking features, and simple BDD macros. %build %global _lto_cflags %{?_lto_cflags} -ffat-lto-objects %cmake -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_SHARED_LIBS=OFF \ - -DCMAKE_INSTALL_DOCDIR=%{_defaultdocdir}/%{name} \ - -DPKGCONFIG_INSTALL_DIR=%{_libdir}/pkgconfig + -DBUILD_SHARED_LIBS:BOOL=OFF \ + -DCMAKE_INSTALL_DOCDIR:PATH=%{_defaultdocdir}/%{name} \ + -DPKGCONFIG_INSTALL_DIR:PATH=%{_libdir}/pkgconfig %cmake_build %install %cmake_install -%check -%ctest - %files devel %license LICENSE.txt %doc README.md CODE_OF_CONDUCT.md