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:
Bart Van Assche
2015-11-09 19:13:24 +00:00
parent 6a491c8cda
commit ceee6fc7e1
+1 -2
View File
@@ -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}