summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel.spec b/kernel.spec
index 4353b3c04..90e3b205d 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -2431,7 +2431,11 @@ find $RPM_BUILD_ROOT/usr/include \
%endif
%if %{with_cross_headers}
+%if 0%{?fedora}
HDR_ARCH_LIST='arm arm64 powerpc s390 x86'
+%else
+HDR_ARCH_LIST='arm64 powerpc s390 x86'
+%endif
mkdir -p $RPM_BUILD_ROOT/usr/tmp-headers
for arch in $HDR_ARCH_LIST; do