Run test suite

This commit is contained in:
Carl George 2020-09-29 16:03:37 -05:00
parent a39bb08ec6
commit c465ce253b
1 changed files with 14 additions and 0 deletions

View File

@ -3,6 +3,8 @@
%global date 2020704
%forgemeta
%bcond_without tests
Name: the_silver_searcher
Version: 2.2.0
Release: 3%{?dist}
@ -19,6 +21,11 @@ BuildRequires: automake
BuildRequires: pcre-devel
BuildRequires: xz-devel
BuildRequires: zlib-devel
%if %{with tests}
BuildRequires: python3-cram
BuildRequires: git-core
%endif
%description
The Silver Searcher is a code searching tool similar to ack,
@ -42,6 +49,12 @@ automake --add-missing
%make_install
%if %{with tests}
%check
make test
%endif
%files
%license LICENSE
%doc README.md
@ -55,6 +68,7 @@ automake --add-missing
* Tue Sep 29 2020 Carl George <carl@george.computer> - 2.2.0-3.2020704git5a1c8d8
- Update to latest upstream commit
- Add patch to use correct shell completion locations
- Run test suite
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild