[packages/which] - use macroized configure shell override

baggins baggins at pld-linux.org
Fri Feb 7 13:49:17 CET 2025


commit 551e4e1a5cc9acbc0cc39b5193d898b02b65dcec
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Feb 7 13:58:39 2025 +0100

    - use macroized configure shell override

 which.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/which.spec b/which.spec
index d05089c..671dbba 100644
--- a/which.spec
+++ b/which.spec
@@ -23,6 +23,7 @@ URL:		https://savannah.gnu.org/projects/which/
 # for (static) -liberty
 BuildRequires:	binutils-devel
 BuildRequires:	texinfo
+BuildRequires:	rpmbuild(macros) >= 2.043
 Requires:	setup >= 2.4.6-2
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -72,7 +73,7 @@ belirtir.
 
 %build
 # cwm4/aclocal/CW_OPG_CXXFLAGS.m4 uses `[[ .. =~ regex ]]` bashism
-bash \
+%define configureshell /bin/bash
 %configure
 %{__make}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/which.git/commitdiff/551e4e1a5cc9acbc0cc39b5193d898b02b65dcec



More information about the pld-cvs-commit mailing list