summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel.spec b/kernel.spec
index 0f274d957..bf58213a6 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -1572,7 +1572,7 @@ BuildKernel() {
done
# Move the devel headers out of the root file system
- mkdir -p $RPM_BUILD_ROOT/$DevelDir
+ mkdir -p $RPM_BUILD_ROOT/usr/src/kernels
mv $RPM_BUILD_ROOT/lib/modules/$KernelVer/build $RPM_BUILD_ROOT/$DevelDir
ln -sf ../../..$DevelDir $RPM_BUILD_ROOT/lib/modules/$KernelVer/build