From 3c587e0e68c34fd2d01e5324147d8b98525351256ca2401c477e9b6140818e85 Mon Sep 17 00:00:00 2001 From: Andrei Borzenkov Date: Fri, 31 Oct 2014 14:00:39 +0000 Subject: [PATCH] Accepting request 259152 from home:jdelvare:branches:Base:System grub2.spec: Fix conditional construct which wasn't supported by older versions of rpmbuild (caused error message "parseExpressionBoolean returns -1".) OBS-URL: https://build.opensuse.org/request/show/259152 OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=124 --- grub2.changes | 7 +++++++ grub2.spec | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/grub2.changes b/grub2.changes index d94ab3c..3e9405e 100644 --- a/grub2.changes +++ b/grub2.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Oct 30 15:18:16 CET 2014 - jdelvare@suse.de + +- grub2.spec: Fix conditional construct which wasn't supported by + older versions of rpmbuild (caused error message + "parseExpressionBoolean returns -1".) + ------------------------------------------------------------------- Thu Oct 30 07:36:15 UTC 2014 - mchang@suse.com diff --git a/grub2.spec b/grub2.spec index 2ee34c8..0b1b10d 100644 --- a/grub2.spec +++ b/grub2.spec @@ -79,7 +79,7 @@ BuildRequires: xen-devel %define grubarch %{grubcpu}-%{platform} # build efi bootloader on some platforms only: -%if ! 0%{?efi} +%if ! 0%{?efi:1} %global efi %{ix86} x86_64 ia64 aarch64 %endif %ifarch aarch64