From: Marcin Krol Date: Mon, 22 Apr 2013 17:51:04 +0000 (+0000) Subject: - fix localversion X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=7158297ed3acc50c1d66e1a5416ec37fb18fef39;p=packages%2Fkernel.git - fix localversion --- diff --git a/kernel-vanilla.spec b/kernel-vanilla.spec index 1e0b79d..d091188 100644 --- a/kernel-vanilla.spec +++ b/kernel-vanilla.spec @@ -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 -