Fix %check section on EPEL/centos stream

Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2022-06-02 11:29:35 -04:00
parent f37232bc0f
commit e702618f40

View File

@ -572,8 +572,11 @@ done
%check %check
%if %{build_ovmf}
virt-fw-vars --input Build/Ovmf3264/DEBUG_%{TOOLCHAIN}/FV/OVMF_VARS.secboot.fd \ virt-fw-vars --input Build/Ovmf3264/DEBUG_%{TOOLCHAIN}/FV/OVMF_VARS.secboot.fd \
--print | grep "SecureBootEnable.*ON" --print | grep "SecureBootEnable.*ON"
# endif build_ovmf
%endif
%global common_files \ %global common_files \
%%license License.txt License.OvmfPkg.txt License-History.txt LICENSE.openssl \ %%license License.txt License.OvmfPkg.txt License-History.txt LICENSE.openssl \