diff --git a/nuspell.spec b/nuspell.spec index 0116379..9518d4f 100644 --- a/nuspell.spec +++ b/nuspell.spec @@ -1,6 +1,6 @@ Name: nuspell Version: 3.1.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: C++ spelling checking library and command-line tool License: LGPLv3+ URL: https://nuspell.github.io @@ -14,6 +14,7 @@ BuildRequires: git BuildRequires: libicu-devel BuildRequires: rdkit-devel BuildRequires: rubygem-ronn +BuildRequires: catch-devel Requires: hunspell-en-US %description @@ -22,7 +23,7 @@ for languages with rich morphology and complex word compounding. Nuspell is \ written in modern C++ and it supports Hunspell dictionaries. %package devel -Summary: Development tools for %{name} +Summary: Development tools for %{name} Requires: libicu-devel Requires: %{name}%{?_isa} = %{version}-%{release} @@ -35,12 +36,15 @@ The %{name}-devel package contains the header files and developer docs for \ %build %cmake . -DBUILD_SHARED_LIBS=1 -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=%{_prefix} -DBUILD_TESTING=OFF + -DCMAKE_INSTALL_PREFIX=%{_prefix} %make_build %install %make_install +%check +ctest + %files %{_mandir}/man1/%{name}* %{_bindir}/%{name} @@ -57,6 +61,9 @@ The %{name}-devel package contains the header files and developer docs for \ %doc %{_docdir}/nuspell/ %changelog +* Wed May 20 2020 Vishal Vijayraghavan - 3.1.1-2 +- added tests + * Fri May 15 2020 Vishal Vijayraghavan - 3.1.1-1 - Updated description and summary - New release 3.1.1