diff --git a/nuspell-5.1.3.tar.gz b/nuspell-5.1.3.tar.gz deleted file mode 100644 index bc46359..0000000 --- a/nuspell-5.1.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2b1c96bdc5a32a17fc8fc24a0c205fa52b0a2920dd6139b0a7d7744cdef48c22 -size 371496 diff --git a/nuspell-5.1.4.tar.gz b/nuspell-5.1.4.tar.gz new file mode 100644 index 0000000..99c7585 --- /dev/null +++ b/nuspell-5.1.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bdf344c5adbcc6797940f8f8cb75cb59f5a3794eb21b9547751a11782a792ef7 +size 371512 diff --git a/nuspell.changes b/nuspell.changes index 0ad66c5..aff18a8 100644 --- a/nuspell.changes +++ b/nuspell.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Nov 22 07:52:25 UTC 2023 - Atri Bhattacharya + +- 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. + ------------------------------------------------------------------- Thu Sep 7 20:47:07 UTC 2023 - Atri Bhattacharya diff --git a/nuspell.spec b/nuspell.spec index ea57160..0ee4f00 100644 --- a/nuspell.spec +++ b/nuspell.spec @@ -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: gcc%{?gcc_ver}-c++ 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 @@ This package provides API documentation for Nuspell. -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 @@ cp -pR doxygen/html %{buildroot}%{_docdir}/%{name}-doc/ %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