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
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 <vishalvvr@fedoraproject.org> - 3.1.1-2
- added tests
* Fri May 15 2020 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 3.1.1-1
- Updated description and summary
- New release 3.1.1