Do not compile the UEFI support for 32 bit ARM

This commit is contained in:
Richard Hughes 2015-06-03 17:27:48 +01:00
parent d2e61aac48
commit 0c7e8a6e99

View File

@ -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