From 0c7e8a6e99888355982945281faf05522963d957 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Wed, 3 Jun 2015 17:27:48 +0100 Subject: [PATCH] Do not compile the UEFI support for 32 bit ARM --- fwupd.spec | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/fwupd.spec b/fwupd.spec index 00f6ecb..fad63da 100644 --- a/fwupd.spec +++ b/fwupd.spec @@ -19,12 +19,18 @@ BuildRequires: gpgme-devel BuildRequires: systemd BuildRequires: gobject-introspection-devel BuildRequires: libappstream-glib-devel >= 0.3.6 + +%ifarch x86_64 %{ix86} aarch64 BuildRequires: fwupdate-devel >= 0.4 +%endif Requires(post): systemd Requires(preun): systemd Requires(postun): systemd + +%ifarch x86_64 %{ix86} aarch64 Requires: efibootmgr +%endif %description fwupd is a daemon to allow session software to update device firmware. @@ -42,6 +48,9 @@ Files for development with %{name}. %build %configure \ --disable-static \ +%ifnarch x86_64 %{ix86} aarch64 + --disable-uefi \ +%endif --disable-rpath \ --disable-silent-rules \ --disable-dependency-tracking