From f41a8a73aa6f2125b69d641a8628a5e2c3b2d2d9 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Wed, 3 Oct 2012 17:30:10 -0700 Subject: [PATCH] Fix kernel_source macro to match the directory that kernel sources are installed in https://bugzilla.redhat.com/show_bug.cgi?id=648996 --- macros | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros b/macros index 396318c..aa0b2d1 100644 --- a/macros +++ b/macros @@ -239,7 +239,7 @@ kernel_module_package_release 1 done \ fi \ echo "%%global flavors_to_build ${flavors_to_build:-%%nil}" \ - echo "%%global kernel_source() /usr/src/kernels/%kverrel-\\\$([ %%%%{1} = default ] || echo "%%%%{1}-")%_target_cpu" \ + echo "%%global kernel_source() /usr/src/kernels/%kverrel-\\\$([ %%%%{1} = default ] || echo "%%%%{1}.")%_target_cpu" \ if [ ! -z "%{-f*}" ] \ then \ filelist="%{-f*}" \