]> TLD Linux GIT Repositories - packages/kernel.git/commitdiff
- fix localversion
authorMarcin Krol <hawk@tld-linux.org>
Mon, 22 Apr 2013 17:51:04 +0000 (17:51 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Mon, 22 Apr 2013 17:51:04 +0000 (17:51 +0000)
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 -