On Thursday, November 10, 2016 5:08:41 PM CST Paul Bolle wrote:
The %all_x86 macro is a bit ambiguous. Rename it to %x86_32, as that
is less
ambiguous.
Signed-off-by: Paul Bolle <pebolle(a)tiscali.nl>
---
kernel.spec | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/kernel.spec b/kernel.spec
index e791d2565efc..05e0190eea19 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -212,11 +212,11 @@ Summary: The Linux kernel
%define with_perf 0
%endif
-%define all_x86 i386 i686
+%define x86_32 i386 i686
why not just use rpms %{ix86} it does include geode, i486
i586 as well but it
seems simpler to me
Dennis
%if %{with_vdso_install}
# These arches install vdso/ directories.
-%define vdso_arches %{all_x86} x86_64 %{power64} s390 s390x aarch64
+%define vdso_arches %{x86_32} x86_64 %{power64} s390 s390x aarch64
%endif
# Overrides for generic default options
@@ -245,7 +245,7 @@ Summary: The Linux kernel
# Per-arch tweaks
-%ifarch %{all_x86}
+%ifarch %{x86_32}
%define asmarch x86
%define hdrarch i386
%define pae PAE
@@ -359,7 +359,7 @@ Version: %{rpmversion}
Release: %{pkg_release}
# DO NOT CHANGE THE 'ExclusiveArch' LINE TO TEMPORARILY EXCLUDE AN
ARCHITECTURE BUILD. # SET %%nobuildarches (ABOVE) INSTEAD
-ExclusiveArch: %{all_x86} x86_64 ppc64 ppc64p7 s390 s390x %{arm} aarch64
ppc64le +ExclusiveArch: %{x86_32} x86_64 ppc64 ppc64p7 s390 s390x %{arm}
aarch64 ppc64le ExclusiveOS: Linux
%ifnarch %{nobuildarches}
Requires: kernel-core-uname-r = %{KVERREL}%{?variant}