[packages/grep] - use bash for tests: mksh doesn't allow to unset COLUMNS - release 2

qboosh qboosh at pld-linux.org
Tue Oct 25 21:51:08 CEST 2016


commit 6c0cae5a4e9d3224bae632b01744820a3bf003ea
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Oct 25 21:53:23 2016 +0200

    - 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 @@ пошуку по шаблону в текстових файлах.
 	--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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/grep.git/commitdiff/6c0cae5a4e9d3224bae632b01744820a3bf003ea



More information about the pld-cvs-commit mailing list