Don't depend on edk2 roms where they aren't available (bz 1373576)
This commit is contained in:
parent
435be3635e
commit
57dbb7a5be
|
@ -45,6 +45,11 @@
|
||||||
%global have_xen 1
|
%global have_xen 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# Matches edk2.spec ExclusiveArch
|
||||||
|
%ifarch %{ix86} x86_64 %{arm} aarch64
|
||||||
|
%global have_edk2 1
|
||||||
|
%endif
|
||||||
|
|
||||||
# Temp hack for https://bugzilla.redhat.com/show_bug.cgi?id=1343892
|
# Temp hack for https://bugzilla.redhat.com/show_bug.cgi?id=1343892
|
||||||
# We'll manually turn on hardened build later in this spec
|
# We'll manually turn on hardened build later in this spec
|
||||||
%undefine _hardened_build
|
%undefine _hardened_build
|
||||||
|
@ -385,7 +390,9 @@ Requires: seavgabios-bin
|
||||||
Requires: seabios-bin >= 1.7.5
|
Requires: seabios-bin >= 1.7.5
|
||||||
Requires: sgabios-bin
|
Requires: sgabios-bin
|
||||||
Requires: ipxe-roms-qemu
|
Requires: ipxe-roms-qemu
|
||||||
|
%if 0%{?have_edk2:1}
|
||||||
Requires: edk2-ovmf
|
Requires: edk2-ovmf
|
||||||
|
%endif
|
||||||
%if 0%{?have_seccomp:1}
|
%if 0%{?have_seccomp:1}
|
||||||
Requires: libseccomp >= 1.0.0
|
Requires: libseccomp >= 1.0.0
|
||||||
%endif
|
%endif
|
||||||
|
@ -572,7 +579,9 @@ This package provides the system emulator for Moxie boards.
|
||||||
Summary: QEMU system emulator for AArch64
|
Summary: QEMU system emulator for AArch64
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
||||||
|
%if 0%{?have_edk2:1}
|
||||||
Requires: edk2-aarch64
|
Requires: edk2-aarch64
|
||||||
|
%endif
|
||||||
%description system-aarch64
|
%description system-aarch64
|
||||||
QEMU is a generic and open source processor emulator which achieves a good
|
QEMU is a generic and open source processor emulator which achieves a good
|
||||||
emulation speed by using dynamic translation.
|
emulation speed by using dynamic translation.
|
||||||
|
|
Loading…
Reference in New Issue