From c23fb767de12e5e45201637d6949efaa9a88f131 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Sat, 23 Nov 2024 21:02:05 +0200 Subject: [PATCH] Fix riscv files [..] RPM build errors: error: File not found: /builddir/build/BUILDROOT/qemu-8.1.0-2.fc38.riscv64/usr/lib/binfmt.d/qemu-riscv32-static.conf Signed-off-by: David Abdurachmanov --- qemu.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/qemu.spec b/qemu.spec index 4d79cc8..7cd8cb1 100644 --- a/qemu.spec +++ b/qemu.spec @@ -372,7 +372,7 @@ Obsoletes: sgabios-bin <= 1:0.20180715git-10.fc38 Summary: QEMU is a FAST! processor emulator Name: qemu Version: 9.1.2 -Release: %{baserelease}%{?rcrel}%{?dist} +Release: %{baserelease}%{?rcrel}.0.riscv64%{?dist} Epoch: 2 License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND FSFAP AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-2.0-or-later WITH GCC-exception-2.0 AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND MIT AND LicenseRef-Fedora-Public-Domain AND CC-BY-3.0 URL: http://www.qemu.org/ @@ -2816,8 +2816,8 @@ useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \ %{_datadir}/systemtap/tapset/qemu-riscv64-log-static.stp %{_datadir}/systemtap/tapset/qemu-riscv64-simpletrace-static.stp %{_datadir}/systemtap/tapset/qemu-riscv64-static.stp -%{_exec_prefix}/lib/binfmt.d/qemu-riscv32-static.conf %ifnarch riscv64 +%{_exec_prefix}/lib/binfmt.d/qemu-riscv32-static.conf %{_exec_prefix}/lib/binfmt.d/qemu-riscv64-static.conf %endif @@ -3158,6 +3158,9 @@ useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \ %changelog +* Sat Nov 23 2024 David Abdurachmanov - 9.1.2-1.0.riscv64 +- Fix riscv files + * Thu Nov 21 2024 Cole Robinson - 9.1.2-1 - Update to qemu 9.1.2 stable