From: Marcin Krol Date: Mon, 22 Apr 2013 17:21:59 +0000 (+0000) Subject: - one more kernel_release fix X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=eebba37d3ad36ed87b85c51cac27e2ef8509c225;p=packages%2Fkernel.git - one more kernel_release fix --- diff --git a/kernel-vanilla.spec b/kernel-vanilla.spec index b44568c..1e0b79d 100644 --- a/kernel-vanilla.spec +++ b/kernel-vanilla.spec @@ -361,7 +361,7 @@ cd linux-%{basever} %endif # Fix EXTRAVERSION in main Makefile -sed -i 's#EXTRAVERSION =.*#EXTRAVERSION = %{?alt_kernel:.%{alt_kernel}}#g' Makefile +sed -i 's#EXTRAVERSION =.*#EXTRAVERSION = %{?alt_kernel:-%{alt_kernel}}#g' Makefile # cleanup backups after patching find '(' -name '*~' -o -name '*.orig' -o -name '.gitignore' ')' -print0 | xargs -0 -r -l512 rm -f