Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package criterion for openSUSE:Factory checked in at 2023-06-13 16:33:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/criterion (Old) and /work/SRC/openSUSE:Factory/.criterion.new.15902 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "criterion" Tue Jun 13 16:33:18 2023 rev:2 rq:1092883 version:2.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/criterion/criterion.changes 2023-02-14 16:45:59.962647038 +0100 +++ /work/SRC/openSUSE:Factory/.criterion.new.15902/criterion.changes 2023-06-13 16:33:19.287320009 +0200 @@ -1,0 +2,23 @@ +Tue Jun 13 12:13:29 UTC 2023 - Paolo Stivanin <[email protected]> + +- Update to 2.4.2: + * Fix: fixed crash in assert failure reporting when there was no diff. + If the user-provided function to stringify an object was bugged and + produced equal output for non-equal objects, thus producing an empty + diff, Criterion crashed trying to access an unset parameter list. + * Fix: fixed crashing tests when Criterion was compiled with nanopb>=0.4.7 + * Fix: fixed deadlock when test timeout was specified and the system was + overloaded. + * Fix: fixed segfault if map_shdr fails (David Gloe). + * Fix: fixed memory leak on test failure (Jookia). + * Fix: fixed gt() and ge(). + * Fix: escape XML/JSON reports. + * Misc: converted klib and debugbreak submodules to subprojects + * Misc: various documentation fixes (Yuri Victorovich, Jonas Schulze). + * Misc: various updates to dependencies. +- Delete fix-nanopb.patch +- Add fix-meson.patch: since klib and debugbreak provides only some header + files, search for those deps in Meson fails, therefore we have to remove + them. Those deps are specified in the spec file though. + +------------------------------------------------------------------- Old: ---- criterion-2.4.1.tar.xz fix-nanopb.patch New: ---- criterion-2.4.2.tar.xz fix-meson.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ criterion.spec ++++++ --- /var/tmp/diff_new_pack.vSA3kR/_old 2023-06-13 16:33:19.987324146 +0200 +++ /var/tmp/diff_new_pack.vSA3kR/_new 2023-06-13 16:33:19.991324170 +0200 @@ -15,28 +15,29 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %define _lto_cflags %{nil} %define sover 3 Name: criterion -Version: 2.4.1 +Version: 2.4.2 Release: 0 Summary: A dead-simple, yet extensible, C and C++ unit testing framework License: MIT URL: https://github.com/Snaipe/Criterion -Source: https://github.com/Snaipe/Criterion/archive/refs/tags/v2.4.1.tar.gz#/%{name}-%{version}.tar.xz -Patch0: fix-nanopb.patch -BuildRequires: cmake +Source: https://github.com/Snaipe/Criterion/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.xz +Patch0: fix-meson.patch +BuildRequires: boxfort-devel BuildRequires: chrpath +BuildRequires: cmake +BuildRequires: debugbreak-devel BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: gettext +BuildRequires: klib-devel BuildRequires: libprotobuf-nanopb0 BuildRequires: meson BuildRequires: nanopb-devel -BuildRequires: debugbreak-devel -BuildRequires: boxfort-devel -BuildRequires: klib-devel BuildRequires: pkgconfig BuildRequires: python3-protobuf BuildRequires: python3-setuptools ++++++ criterion-2.4.1.tar.xz -> criterion-2.4.2.tar.xz ++++++ ++++++ fix-meson.patch ++++++ --- Criterion-2.4.2/meson.build.orig 2023-06-13 14:18:29.829743813 +0200 +++ Criterion-2.4.2/meson.build 2023-06-13 15:13:15.672365040 +0200 @@ -138,10 +138,6 @@ cmake = import('cmake') -debugbreak = dependency('debugbreak') - -klib = dependency('klib') - threads = dependency('threads') nanomsg = dependency('nanomsg', required: get_option('wrap_mode') == 'nofallback') @@ -177,23 +173,8 @@ config.set('NN_REQREP_H', '<nanomsg/reqrep.h>') endif -nanopb = dependency('nanopb', required: get_option('wrap_mode') == 'nofallback', method: 'cmake', - modules: ['nanopb::protobuf-nanopb-static']) +nanopb = dependency('nanopb', required: true, method: 'cmake', modules: ['nanopb::protobuf-nanopb']) must_regenerate_pb = nanopb.found() -if (not nanopb.found() - or get_option('wrap_mode') == 'forcefallback' - or 'nanopb' in get_option('force_fallback_for')) - - nanopb_opts = cmake.subproject_options() - nanopb_opts.add_cmake_defines({ - 'nanopb_BUILD_GENERATOR': false, - 'BUILD_SHARED_LIBS': false, - 'CMAKE_C_FLAGS': '-DPB_ENABLE_MALLOC=1 -DPB_NO_PACKED_STRUCTS=1', - 'CMAKE_POSITION_INDEPENDENT_CODE': true, - }) - nanopb_proj = cmake.subproject('nanopb-cmake', options: nanopb_opts) - nanopb = nanopb_proj.dependency('protobuf-nanopb-static') -endif libgit2 = dependency('libgit2', required: get_option('wrap_mode') == 'nofallback') if ((not libgit2.found() and get_option('diffs').enabled()) @@ -244,8 +225,6 @@ endif deps += [ - debugbreak, - klib, threads, boxfort, libffi,
