From be52afe362ad1949af0a306b0ba1a0c31567720f Mon Sep 17 00:00:00 2001 From: Kyle McMartin Date: Wed, 12 Jun 2013 13:39:46 -0400 Subject: [PATCH] Fix thinko in last commit kernel-PAE will be "used" (but not populated) for all but armv7hl. On !i686 and !arm, it still needs to exist for some of the other macros to expand properly. --- kernel.spec | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/kernel.spec b/kernel.spec index 312018b42..f810e77c4 100644 --- a/kernel.spec +++ b/kernel.spec @@ -1012,7 +1012,7 @@ hyperthreading technology. Install the kernel-smp package if your machine uses two or more CPUs. -%ifarch %{ix86} +%ifnarch armv7hl %define variant_summary The Linux kernel compiled for PAE capable machines %kernel_variant_package %{pae} %description %{pae} @@ -1020,15 +1020,13 @@ This package includes a version of the Linux kernel with support for up to 64GB of high memory. It requires a CPU with Physical Address Extensions (PAE). The non-PAE kernel can only address up to 4GB of memory. Install the kernel-PAE package if your machine has more than 4GB of memory. -%endif -%ifarch armv7hl +%else %define variant_summary The Linux kernel compiled for Cortex-A15 %kernel_variant_package %{pae} %description %{pae} This package includes a version of the Linux kernel with support for Cortex-A15 devices with LPAE and HW virtualisation support %endif -%endif %define variant_summary The Linux kernel compiled with extra debugging enabled for PAE capable machines