From a6e1577d7d2f5568648d0d47bfaa25f02ac2baf9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Mon, 6 Aug 2018 23:10:42 +0200 Subject: [PATCH] - BR gnu-efi for efi build --- fwupd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fwupd.spec b/fwupd.spec index 382704b..6f62828 100644 --- a/fwupd.spec +++ b/fwupd.spec @@ -40,7 +40,10 @@ BuildRequires: libarchive-devel BuildRequires: libgpg-error-devel BuildRequires: libgusb-devel >= 0.2.9 # for dell (which depends on fwupdate too) -%{?with_efi:BuildRequires: libsmbios-devel >= 2.3.0} +%if %{with efi} +BuildRequires: gnu-efi +BuildRequires: libsmbios-devel >= 2.3.0 +%endif BuildRequires: libsoup-devel >= 2.52 # pkgconfig(libtbtfwu) >= 1 %{?with_thunderbolt:BuildRequires: libtbtfwu-devel >= 0-0.2017.01.19} -- 2.43.0