Fix kernel_source macro to match the directory that kernel sources are installed in
https://bugzilla.redhat.com/show_bug.cgi?id=648996
This commit is contained in:
parent
2f654df096
commit
f41a8a73aa
2
macros
2
macros
@ -239,7 +239,7 @@ kernel_module_package_release 1
|
|||||||
done \
|
done \
|
||||||
fi \
|
fi \
|
||||||
echo "%%global flavors_to_build ${flavors_to_build:-%%nil}" \
|
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*}" ] \
|
if [ ! -z "%{-f*}" ] \
|
||||||
then \
|
then \
|
||||||
filelist="%{-f*}" \
|
filelist="%{-f*}" \
|
||||||
|
Loading…
Reference in New Issue
Block a user