From: Jakub Bogusz Date: Tue, 25 Oct 2016 19:53:23 +0000 (+0200) Subject: - use bash for tests: mksh doesn't allow to unset COLUMNS X-Git-Tag: auto/th/grep-2.26-2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fgrep.git;a=commitdiff_plain;h=6c0cae5 - use bash for tests: mksh doesn't allow to unset COLUMNS - release 2 --- diff --git a/grep.spec b/grep.spec index 29dfea9..a16ef71 100644 --- a/grep.spec +++ b/grep.spec @@ -15,7 +15,7 @@ Summary(tr.UTF-8): Dosyalarda katar arama aracı Summary(uk.UTF-8): Утиліти пошуку по шаблонам GNU grep Name: grep Version: 2.26 -Release: 1 +Release: 2 Epoch: 2 License: GPL v3+ Group: Applications/Text @@ -106,7 +106,11 @@ kullanılır. --without-included-regex %{__make} -%{?with_tests:%{__make} -j1 check-expensive} +%if %{with tests} +# mksh fails "unset columns" check (bash and pdksh are OK) +%{__make} -j1 check-expensive \ + SHELL=/bin/bash +%endif %install rm -rf $RPM_BUILD_ROOT