From f41a8a73aa6f2125b69d641a8628a5e2c3b2d2d9 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Jan 24 2014 22:35:48 +0000 Subject: Fix kernel_source macro to match the directory that kernel sources are installed in https://bugzilla.redhat.com/show_bug.cgi?id=648996 --- 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*}" \