mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-20 06:06:23 +00:00
scst.spec: Follow-up for r6627
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6629 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
+1
-2
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user