From 6c0cae5a4e9d3224bae632b01744820a3bf003ea Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Tue, 25 Oct 2016 21:53:23 +0200 Subject: [PATCH] - use bash for tests: mksh doesn't allow to unset COLUMNS - release 2 --- grep.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 -- 2.43.0