From d263f34b3a500e2ef74d89c0b15df53af0b836b2 Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Thu, 23 Aug 2012 11:35:22 -0400 Subject: [PATCH] Only require pesign on EFI architectures (#851215) --- grub2.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/grub2.spec b/grub2.spec index db591e1..bca7077 100644 --- a/grub2.spec +++ b/grub2.spec @@ -41,7 +41,7 @@ Name: grub2 Epoch: 1 Version: 2.00 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Bootloader with support for Linux, Multiboot and more Group: System Environment/Base @@ -83,7 +83,9 @@ BuildRequires: autoconf automake autogen device-mapper-devel BuildRequires: freetype-devel gettext-devel git BuildRequires: texinfo BuildRequires: dejavu-sans-fonts +%ifarch %{efiarchs} BuildRequires: pesign >= 0.10-3 +%endif Requires: gettext os-prober which file system-logos Requires: %{name}-tools = %{epoch}:%{version}-%{release} @@ -416,6 +418,9 @@ fi %doc grub-%{tarversion}/themes/starfield/COPYING.CC-BY-SA-3.0 %changelog +* Thu Aug 23 2012 David Cantrell - 2.00-6 +- Only require pesign on EFI architectures (#851215) + * Tue Aug 14 2012 Peter Jones - 2.00-5 - Work around AHCI firmware bug in efidisk driver. - Move to newer pesign macros