![](https://seccdn.libravatar.org/avatar/128a7b98d536a9cf9b4d4d5a90d63475.jpg?s=120&d=mm&r=g)
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package nuspell for openSUSE:Factory checked in at 2023-11-23 21:38:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nuspell (Old) and /work/SRC/openSUSE:Factory/.nuspell.new.25432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "nuspell" Thu Nov 23 21:38:39 2023 rev:9 rq:1128359 version:5.1.4 Changes: -------- --- /work/SRC/openSUSE:Factory/nuspell/nuspell.changes 2023-09-17 19:28:51.940655908 +0200 +++ /work/SRC/openSUSE:Factory/.nuspell.new.25432/nuspell.changes 2023-11-23 21:38:45.291307055 +0100 @@ -1,0 +2,11 @@ +Wed Nov 22 07:52:25 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com> + +- Update to version 5.1.4: + * Raise the minimum required version of dependency Catch2 to + v3.1.1. See gh#nuspell/nuspell#133. +- Bump BuildRequires: pkgconfig(catch2) >= 3.3.2; contrary to + upstream release notes, tests require 3.3.2 or newer; see commit + ee40edc. Unfortunately, this means no testing for builds on + Leap. + +------------------------------------------------------------------- Old: ---- nuspell-5.1.3.tar.gz New: ---- nuspell-5.1.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nuspell.spec ++++++ --- /var/tmp/diff_new_pack.x0JrWL/_old 2023-11-23 21:38:45.823326654 +0100 +++ /var/tmp/diff_new_pack.x0JrWL/_new 2023-11-23 21:38:45.823326654 +0100 @@ -21,9 +21,12 @@ # Due to std::filesystem and std::charconv used by code, at least gcc-c++ >= 10 and std=c++17 is required %if 0%{?suse_version} < 1550 %define gcc_ver 10 +%bcond_with tests +%else +%bcond_without tests %endif Name: nuspell -Version: 5.1.3 +Version: 5.1.4 Release: 0 Summary: A spell checker library and command-line tool License: LGPL-3.0-or-later @@ -37,9 +40,11 @@ BuildRequires: graphviz BuildRequires: libicu-devel BuildRequires: pkgconfig -BuildRequires: pkgconfig(catch2) < 3 BuildRequires: rubygem(%{rb_default_ruby_abi}:ronn) Requires: hunspell +%if %{with tests} +BuildRequires: pkgconfig(catch2) >= 3.3.2 +%endif %description Nuspell is a spell checker written in C++. It supports languages with @@ -100,7 +105,7 @@ -DCMAKE_CXX_COMPILER:STRING=g++-%{?gcc_ver} \ -DCMAKE_CXX_FLAGS:STRING="%{optflags} -std=c++17" \ %endif - -DBUILD_TESTING:BOOL=ON \ + -DBUILD_TESTING:BOOL=%{?with_tests:ON}%{!?with_tests:OFF} \ -DCMAKE_SKIP_RPATH:BOOL=OFF %cmake_build @@ -118,8 +123,10 @@ %post -n %{libname}%{sonum} -p /sbin/ldconfig %postun -n %{libname}%{sonum} -p /sbin/ldconfig +%if %{with tests} %check %ctest +%endif %files -n %{name} %doc README.md CHANGELOG.md AUTHORS ++++++ nuspell-5.1.3.tar.gz -> nuspell-5.1.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nuspell-5.1.3/CHANGELOG.md new/nuspell-5.1.4/CHANGELOG.md --- old/nuspell-5.1.3/CHANGELOG.md 2023-08-27 18:09:53.000000000 +0200 +++ new/nuspell-5.1.4/CHANGELOG.md 2023-11-08 10:44:28.000000000 +0100 @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [5.1.4] - 2023-11-08 +### Changed +- Raise the minimum required version of dependency Catch2 to v3.1.1. See #133. + ## [5.1.3] - 2023-08-27 ### Added - Added Vcpkg manifest file called `vcpkg.json` for easier development and @@ -267,7 +271,8 @@ - Spelling error detection (checking) is closely matching Hunspell - Support for spelling error correction (suggestions) -[Unreleased]: https://github.com/nuspell/nuspell/compare/v5.1.3...HEAD +[Unreleased]: https://github.com/nuspell/nuspell/compare/v5.1.4...HEAD +[5.1.4]: https://github.com/nuspell/nuspell/compare/v5.1.3...v5.1.4 [5.1.3]: https://github.com/nuspell/nuspell/compare/v5.1.2...v5.1.3 [5.1.2]: https://github.com/nuspell/nuspell/compare/v5.1.1...v5.1.2 [5.1.1]: https://github.com/nuspell/nuspell/compare/v5.1.0...v5.1.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nuspell-5.1.3/CMakeLists.txt new/nuspell-5.1.4/CMakeLists.txt --- old/nuspell-5.1.3/CMakeLists.txt 2023-08-27 18:09:53.000000000 +0200 +++ new/nuspell-5.1.4/CMakeLists.txt 2023-11-08 10:44:28.000000000 +0100 @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.12) project(nuspell - VERSION 5.1.3 + VERSION 5.1.4 DESCRIPTION "Nuspell spellchecking library" HOMEPAGE_URL https://nuspell.github.io/ LANGUAGES CXX) @@ -38,19 +38,23 @@ include(FetchContent) FetchContent_Declare(Catch2 GIT_REPOSITORY https://github.com/catchorg/Catch2.git - GIT_TAG 62fd660583d3ae7a7886930b413c3c570e89786c #v2.13.9 + GIT_TAG 3f0283de7a9c43200033da996ff9093be3ac84dc #v3.3.2 ) FetchContent_GetProperties(Catch2) if(NOT catch2_POPULATED) FetchContent_Populate(Catch2) + set(old_build_shared_libs ${BUILD_SHARED_LIBS}) + set(BUILD_SHARED_LIBS OFF) add_subdirectory(${catch2_SOURCE_DIR} ${catch2_BINARY_DIR}) + target_compile_features(Catch2 PRIVATE cxx_std_17) list(APPEND CMAKE_MODULE_PATH ${catch2_SOURCE_DIR}/contrib) + set(BUILD_SHARED_LIBS ${old_build_shared_libs}) endif() endmacro() if (BUILD_TESTING) enable_testing() - find_package(Catch2 2.3.0 QUIET) + find_package(Catch2 3.1.1 QUIET) if (NOT Catch2_FOUND) fetch_catch2() endif() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nuspell-5.1.3/README.md new/nuspell-5.1.4/README.md --- old/nuspell-5.1.3/README.md 2023-08-27 18:09:53.000000000 +0200 +++ new/nuspell-5.1.4/README.md 2023-11-08 10:44:28.000000000 +0100 @@ -27,8 +27,8 @@ - C++ 17 compiler with support for `std::filesystem`, e.g. GCC >= v9 - CMake >= v3.12 - - Catch2 >= v2.3.0 (It is only needed when building the tests. If it is not - available as a system package, the CMake will download it using + - Catch2 >= v3.1.1 (It is only needed when building the tests. If it is not + available as a system package, then CMake will download it using `FetchContent`.) - Getopt (It is needed only on Windows + MSVC and only when the CLI tool or the tests are built. It is available in vcpkg. Other platforms provide diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nuspell-5.1.3/tests/CMakeLists.txt new/nuspell-5.1.4/tests/CMakeLists.txt --- old/nuspell-5.1.3/tests/CMakeLists.txt 2023-08-27 18:09:53.000000000 +0200 +++ new/nuspell-5.1.4/tests/CMakeLists.txt 2023-11-08 10:44:28.000000000 +0100 @@ -1,5 +1,5 @@ -add_executable(unit_test unit_test.cxx catch_main.cxx) -target_link_libraries(unit_test PRIVATE nuspell Catch2::Catch2) +add_executable(unit_test unit_test.cxx) +target_link_libraries(unit_test PRIVATE nuspell Catch2::Catch2WithMain) if (MSVC) target_compile_options(unit_test PRIVATE "/utf-8") # Consider doing this for all the other targets by setting this flag diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nuspell-5.1.3/tests/catch_main.cxx new/nuspell-5.1.4/tests/catch_main.cxx --- old/nuspell-5.1.3/tests/catch_main.cxx 2023-08-27 18:09:53.000000000 +0200 +++ new/nuspell-5.1.4/tests/catch_main.cxx 1970-01-01 01:00:00.000000000 +0100 @@ -1,20 +0,0 @@ -/* Copyright 2017-2023 Dimitrij Mijoski - * - * This file is part of Nuspell. - * - * Nuspell is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Nuspell is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Nuspell. If not, see <http://www.gnu.org/licenses/>. - */ - -#define CATCH_CONFIG_MAIN -#include <catch2/catch.hpp> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nuspell-5.1.3/tests/unit_test.cxx new/nuspell-5.1.4/tests/unit_test.cxx --- old/nuspell-5.1.3/tests/unit_test.cxx 2023-08-27 18:09:53.000000000 +0200 +++ new/nuspell-5.1.4/tests/unit_test.cxx 2023-11-08 10:44:28.000000000 +0100 @@ -16,7 +16,8 @@ * along with Nuspell. If not, see <http://www.gnu.org/licenses/>. */ -#include <catch2/catch.hpp> +#include <catch2/catch_test_macros.hpp> +#include <catch2/matchers/catch_matchers.hpp> #include <nuspell/dictionary.hxx> #include <nuspell/utils.hxx> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nuspell-5.1.3/vcpkg.json new/nuspell-5.1.4/vcpkg.json --- old/nuspell-5.1.3/vcpkg.json 2023-08-27 18:09:53.000000000 +0200 +++ new/nuspell-5.1.4/vcpkg.json 2023-11-08 10:44:28.000000000 +0100 @@ -3,7 +3,7 @@ "dependencies": [ { "name": "catch2", - "version>=": "2.13.9" + "version>=": "3.3.2" }, { "name": "getopt",