diff --git a/libvirt.spec.in b/libvirt.spec.in index c5c66080802e526d095767087c583c30766de4e2..b32b68aa831c16170cfce6bd381c610781755673 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -344,6 +344,12 @@ %endif +# Advertise OVMF and AAVMF from nightly firmware repo +%if 0%{?fedora} + %define with_loader_nvram --with-loader-nvram="/usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd:/usr/share/edk2.git/ovmf-x64/OVMF_VARS-pure-efi.fd:/usr/share/edk2.git/aarch64/QEMU_EFI-pflash.raw:/usr/share/edk2.git/aarch64/vars-template-pflash.raw" +%endif + + # The RHEL-5 Xen package has some feature backports. This # flag is set to enable use of those special bits on RHEL-5 %if 0%{?rhel} == 5 @@ -1522,6 +1528,7 @@ rm -f po/stamp-po %{with_packager_version} \ --with-qemu-user=%{qemu_user} \ --with-qemu-group=%{qemu_group} \ + %{?with_loader_nvram} \ %{?enable_werror} \ --enable-expensive-tests \ %{init_scripts}