From e702618f4098bd0b985e45a4b699cea30224bc36 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Jun 02 2022 15:29:35 +0000 Subject: Fix %check section on EPEL/centos stream Signed-off-by: Cole Robinson --- diff --git a/edk2.spec b/edk2.spec index a624933..0b86f04 100644 --- a/edk2.spec +++ b/edk2.spec @@ -572,8 +572,11 @@ done %check +%if %{build_ovmf} virt-fw-vars --input Build/Ovmf3264/DEBUG_%{TOOLCHAIN}/FV/OVMF_VARS.secboot.fd \ --print | grep "SecureBootEnable.*ON" +# endif build_ovmf +%endif %global common_files \ %%license License.txt License.OvmfPkg.txt License-History.txt LICENSE.openssl \