From ceee6fc7e1c425637244294c860c9425e273d8d3 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 9 Nov 2015 19:13:24 +0000 Subject: [PATCH] scst.spec: Follow-up for r6627 git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6629 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst.spec.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scst.spec.in b/scst.spec.in index af674bf2d..bf73f49a1 100644 --- a/scst.spec.in +++ b/scst.spec.in @@ -16,8 +16,7 @@ rpm -q --qf '%%%%{BUILDTIME} %%%%{version}-%%%%{release}.%%%%{arch}\\n' \\ kernel-headers | sort | tail -n1 | { read a b; echo $b; }; else - make -sC "/lib/modules/$(uname -r)/build/" kernelversion | - grep -v ^make; + uname -r; fi )}}} %{echo:kversion=%{kversion}