Accepting request 1039189 from openSUSE:Factory:RISCV

- Enable build on riscv64

OBS-URL: https://build.opensuse.org/request/show/1039189
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=532
This commit is contained in:
Charles Arnold 2022-12-15 17:48:56 +00:00 committed by Git OBS Bridge
parent 1909e063be
commit 8327a03b19
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 30 14:34:58 UTC 2022 - Andreas Schwab <schwab@suse.de>
- Enable build on riscv64
-------------------------------------------------------------------
Tue Nov 29 11:45:36 MST 2022 - carnold@suse.com

View File

@ -17,7 +17,7 @@
Name: libguestfs
ExclusiveArch: x86_64 ppc64 ppc64le s390x aarch64
ExclusiveArch: x86_64 ppc64 ppc64le s390x aarch64 riscv64
Version: 1.48.6
Release: 0
Summary: Access and modify virtual machine disk images
@ -104,6 +104,9 @@ sed -i 's|RPMVSF_MASK_NOSIGNATURES|_RPMVSF_NOSIGNATURES|' daemon/rpm-c.c
%ifarch ppc64
%define kvm_binary %{_bindir}/qemu-system-ppc64
%endif
%ifarch riscv64
%define kvm_binary %{_bindir}/qemu-system-riscv64
%endif
%ifarch s390x
%define kvm_binary %{_bindir}/qemu-system-s390x
%endif