added tests

This commit is contained in:
vishal-vvr 2020-05-20 19:20:15 +05:30
parent f7b4224914
commit ef4887c86e
1 changed files with 10 additions and 3 deletions

View File

@ -1,6 +1,6 @@
Name: nuspell Name: nuspell
Version: 3.1.1 Version: 3.1.1
Release: 1%{?dist} Release: 2%{?dist}
Summary: C++ spelling checking library and command-line tool Summary: C++ spelling checking library and command-line tool
License: LGPLv3+ License: LGPLv3+
URL: https://nuspell.github.io URL: https://nuspell.github.io
@ -14,6 +14,7 @@ BuildRequires: git
BuildRequires: libicu-devel BuildRequires: libicu-devel
BuildRequires: rdkit-devel BuildRequires: rdkit-devel
BuildRequires: rubygem-ronn BuildRequires: rubygem-ronn
BuildRequires: catch-devel
Requires: hunspell-en-US Requires: hunspell-en-US
%description %description
@ -35,12 +36,15 @@ The %{name}-devel package contains the header files and developer docs for \
%build %build
%cmake . -DBUILD_SHARED_LIBS=1 -DCMAKE_BUILD_TYPE=Release \ %cmake . -DBUILD_SHARED_LIBS=1 -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=%{_prefix} -DBUILD_TESTING=OFF -DCMAKE_INSTALL_PREFIX=%{_prefix}
%make_build %make_build
%install %install
%make_install %make_install
%check
ctest
%files %files
%{_mandir}/man1/%{name}* %{_mandir}/man1/%{name}*
%{_bindir}/%{name} %{_bindir}/%{name}
@ -57,6 +61,9 @@ The %{name}-devel package contains the header files and developer docs for \
%doc %{_docdir}/nuspell/ %doc %{_docdir}/nuspell/
%changelog %changelog
* Wed May 20 2020 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 3.1.1-2
- added tests
* Fri May 15 2020 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 3.1.1-1 * Fri May 15 2020 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 3.1.1-1
- Updated description and summary - Updated description and summary
- New release 3.1.1 - New release 3.1.1