SHA256
1
0
forked from pool/nuspell

Accepting request 1128133 from home:badshah400:branches:M17N

* Update to version 5.1.4.
* 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.

OBS-URL: https://build.opensuse.org/request/show/1128133
OBS-URL: https://build.opensuse.org/package/show/M17N/nuspell?expand=0&rev=30
This commit is contained in:
Takashi Iwai 2023-11-23 15:15:41 +00:00 committed by Git OBS Bridge
parent b5360f27ad
commit ac3026bdc8
4 changed files with 24 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2b1c96bdc5a32a17fc8fc24a0c205fa52b0a2920dd6139b0a7d7744cdef48c22
size 371496

3
nuspell-5.1.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bdf344c5adbcc6797940f8f8cb75cb59f5a3794eb21b9547751a11782a792ef7
size 371512

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
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.
-------------------------------------------------------------------
Thu Sep 7 20:47:07 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>

View File

@ -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