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}