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:
parent
b5360f27ad
commit
ac3026bdc8
@ -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
3
nuspell-5.1.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:bdf344c5adbcc6797940f8f8cb75cb59f5a3794eb21b9547751a11782a792ef7
|
||||||
|
size 371512
|
@ -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>
|
Thu Sep 7 20:47:07 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
13
nuspell.spec
13
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
|
# 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
|
%if 0%{?suse_version} < 1550
|
||||||
%define gcc_ver 10
|
%define gcc_ver 10
|
||||||
|
%bcond_with tests
|
||||||
|
%else
|
||||||
|
%bcond_without tests
|
||||||
%endif
|
%endif
|
||||||
Name: nuspell
|
Name: nuspell
|
||||||
Version: 5.1.3
|
Version: 5.1.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A spell checker library and command-line tool
|
Summary: A spell checker library and command-line tool
|
||||||
License: LGPL-3.0-or-later
|
License: LGPL-3.0-or-later
|
||||||
@ -37,9 +40,11 @@ BuildRequires: gcc%{?gcc_ver}-c++
|
|||||||
BuildRequires: graphviz
|
BuildRequires: graphviz
|
||||||
BuildRequires: libicu-devel
|
BuildRequires: libicu-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(catch2) < 3
|
|
||||||
BuildRequires: rubygem(%{rb_default_ruby_abi}:ronn)
|
BuildRequires: rubygem(%{rb_default_ruby_abi}:ronn)
|
||||||
Requires: hunspell
|
Requires: hunspell
|
||||||
|
%if %{with tests}
|
||||||
|
BuildRequires: pkgconfig(catch2) >= 3.3.2
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Nuspell is a spell checker written in C++. It supports languages with
|
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_COMPILER:STRING=g++-%{?gcc_ver} \
|
||||||
-DCMAKE_CXX_FLAGS:STRING="%{optflags} -std=c++17" \
|
-DCMAKE_CXX_FLAGS:STRING="%{optflags} -std=c++17" \
|
||||||
%endif
|
%endif
|
||||||
-DBUILD_TESTING:BOOL=ON \
|
-DBUILD_TESTING:BOOL=%{?with_tests:ON}%{!?with_tests:OFF} \
|
||||||
-DCMAKE_SKIP_RPATH:BOOL=OFF
|
-DCMAKE_SKIP_RPATH:BOOL=OFF
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
@ -118,8 +123,10 @@ cp -pR doxygen/html %{buildroot}%{_docdir}/%{name}-doc/
|
|||||||
%post -n %{libname}%{sonum} -p /sbin/ldconfig
|
%post -n %{libname}%{sonum} -p /sbin/ldconfig
|
||||||
%postun -n %{libname}%{sonum} -p /sbin/ldconfig
|
%postun -n %{libname}%{sonum} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%if %{with tests}
|
||||||
%check
|
%check
|
||||||
%ctest
|
%ctest
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -n %{name}
|
%files -n %{name}
|
||||||
%doc README.md CHANGELOG.md AUTHORS
|
%doc README.md CHANGELOG.md AUTHORS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user