[kernel] Fix thinko in last commit

Kyle McMartin kyle at fedoraproject.org
Wed Jun 12 17:41:29 UTC 2013


commit be52afe362ad1949af0a306b0ba1a0c31567720f
Author: Kyle McMartin <kyle at redhat.com>
Date:   Wed Jun 12 13:39:46 2013 -0400

    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 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/kernel.spec b/kernel.spec
index 312018b..f810e77 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


More information about the scm-commits mailing list