]> TLD Linux GIT Repositories - packages/kernel.git/blobdiff - kernel-vanilla.spec
- fix localversion
[packages/kernel.git] / kernel-vanilla.spec
index 1e0b79d8b7789e153c95c080887d7ebd6226c0fa..d0911884e514bc5169318a88f16ed4888a3008ff 100644 (file)
@@ -388,6 +388,7 @@ install -d arch/%{target_arch_dir}
 %ifarch x86_64
        cat %{SOURCE11} > %{defconfig}
 %endif
+sed -i "s:CONFIG_LOCALVERSION=\"\":CONFIG_LOCALVERSION=\"-%{localversion}\":" %{defconfig}
 
 ln -sf %{defconfig} .config
 cd -