From 1f576bfc7723976444e4f56e8f1f46bde8ba3d84 Mon Sep 17 00:00:00 2001 From: liuxiangdong Date: Sat, 13 May 2023 05:11:57 +0800 Subject: [PATCH] spec: delete useless core3-hmcode/core3-reset/uefi-bios-sw "%exclude" only means not packaging these three files but they are still existing in buildroot directory. "ERROR: No build ID not found in XXXXX" will be reported when generating debug package. Delete them directly in buildroot directory. Signed-off-by: liuxiangdong (cherry picked from commit 047085038062127f07a5e0a853fbb0d0ac16ff65) --- qemu.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/qemu.spec b/qemu.spec index 615ff1e4..167a3c03 100644 --- a/qemu.spec +++ b/qemu.spec @@ -3,7 +3,7 @@ Name: qemu Version: 6.2.0 -Release: 72 +Release: 73 Epoch: 10 Summary: QEMU is a generic and open source machine emulator and virtualizer License: GPLv2 and BSD and MIT and CC-BY-SA-4.0 @@ -823,6 +823,9 @@ rm -rf %{buildroot}%{_datadir}/%{name}/s390-* rm -rf %{buildroot}%{_datadir}/%{name}/skiboot.lid rm -rf %{buildroot}%{_datadir}/%{name}/spapr-* rm -rf %{buildroot}%{_datadir}/%{name}/u-boot* +rm -rf %{buildroot}%{_datadir}/%{name}/core3-hmcode +rm -rf %{buildroot}%{_datadir}/%{name}/core3-reset +rm -rf %{buildroot}%{_datadir}/%{name}/uefi-bios-sw rm -rf %{buildroot}%{_bindir}/ivshmem* rm -f %{buildroot}%{_datadir}/%{name}/edk2* rm -rf %{buildroot}%{_datadir}/%{name}/firmware @@ -949,9 +952,6 @@ getent passwd qemu >/dev/null || \ %{_datadir}/%{name}/kvmvapic.bin %{_datadir}/%{name}/sgabios.bin %endif -%exclude %{_datadir}/%{name}/core3-hmcode -%exclude %{_datadir}/%{name}/core3-reset -%exclude %{_datadir}/%{name}/uefi-bios-sw %files system-aarch64 %{_bindir}/qemu-system-aarch64 @@ -1076,6 +1076,9 @@ getent passwd qemu >/dev/null || \ %endif %changelog +* Fri May 19 2023 - 10:6.2.0-73 +- spec: delete useless core3-hmcode/core3-reset/uefi-bios-sw + * Wed May 17 2023 - 10:6.2.0-72 - migration/xbzrle: fix out-of-bounds write with axv512 - migration/xbzrle: use ctz64 to avoid undefined result -- Gitee