From 210705ffc779cb1e495fef866021770997adfc511b15c335141677085bffdf31 Mon Sep 17 00:00:00 2001 From: Dario Faggioli Date: Fri, 28 Oct 2022 13:57:12 +0000 Subject: [PATCH] Accepting request 1031954 from home:dfaggioli:devel:Virtualization - Fix deps for i586 OBS-URL: https://build.opensuse.org/request/show/1031954 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=741 --- qemu.spec | 7 ++++++- qemu.spec.in | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/qemu.spec b/qemu.spec index 854de88e..2fa1ea23 100644 --- a/qemu.spec +++ b/qemu.spec @@ -587,10 +587,15 @@ Release: 0 Requires: %name = %{qemuver} Requires: qemu-accel-tcg-x86 Requires: qemu-ipxe -Requires: qemu-ovmf-x86_64 Requires: qemu-seabios Requires: qemu-sgabios Requires: qemu-vgabios +%ifarch x86_64 +Requires: qemu-ovmf-x86_64 +%else +Requires: qemu-ovmf-ia32 +Recommends: qemu-ovmf-x86_64 +%endif Recommends: ovmf Recommends: qemu-microvm diff --git a/qemu.spec.in b/qemu.spec.in index 86217fd0..55366c34 100644 --- a/qemu.spec.in +++ b/qemu.spec.in @@ -529,10 +529,15 @@ Release: 0 Requires: %name = %{qemuver} Requires: qemu-accel-tcg-x86 Requires: qemu-ipxe -Requires: qemu-ovmf-x86_64 Requires: qemu-seabios Requires: qemu-sgabios Requires: qemu-vgabios +%ifarch x86_64 +Requires: qemu-ovmf-x86_64 +%else +Requires: qemu-ovmf-ia32 +Recommends: qemu-ovmf-x86_64 +%endif Recommends: ovmf Recommends: qemu-microvm