From 1e9900d97501e17967aa3b7da7d900fac612d064 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 1 Sep 2015 18:20:09 +0000 Subject: [PATCH] scst.spec: Make this spec file independent of the value of $PATH git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6495 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scst.spec.in b/scst.spec.in index cd4952fea..f44744229 100644 --- a/scst.spec.in +++ b/scst.spec.in @@ -67,7 +67,7 @@ BuildRequires: %{?kernel_rpm:%{kernel_rpm} = %{krpmver} %{kernel_devel_rpm} = %{ Source: %{kmod_name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build AutoReqProv: no -Requires: %{?kernel_rpm:%{kernel_rpm} = %{krpmver}} %{expand:%%(for c in depmod find rm; do echo -n "$(which $c) "; done)} +Requires: %{?kernel_rpm:%{kernel_rpm} = %{krpmver}} %{expand:%%(for c in depmod find rm; do echo -n "$(PATH=/sbin:/bin:/usr/sbin:/usr/bin which $c) "; done)} Provides: scst %description