From 6330d29e220c7833a6da1e0c9a7f33ed7f2565c5 Mon Sep 17 00:00:00 2001 From: zhangxianting Date: Wed, 10 Apr 2024 21:28:38 +0800 Subject: [PATCH] remove chrpath --- qemu.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/qemu.spec b/qemu.spec index d4270703..62e8db9d 100644 --- a/qemu.spec +++ b/qemu.spec @@ -3,7 +3,7 @@ Name: qemu Version: 8.2.0 -Release: 7 +Release: 8 Epoch: 11 Summary: QEMU is a generic and open source machine emulator and virtualizer License: GPLv2 and BSD and MIT and CC-BY-SA-4.0 @@ -611,7 +611,7 @@ strip %{buildroot}%{_libdir}/%{name}/hw-usb-host.so for f in %{buildroot}%{_bindir}/* %{buildroot}%{_libdir}/* \ %{buildroot}%{_libexecdir}/*; do - if file $f | grep -q ELF | grep -q -i shared; then chrpath --delete $f; fi + if file $f | grep -q -v symbolic; then if file $f | grep ELF | grep -q -i shared || readelf -d $f | grep -q -i rpath; then chrpath --delete $f; fi; fi done %check @@ -835,6 +835,9 @@ getent passwd qemu >/dev/null || \ %endif %changelog +* Wed Apr 17 2024 zhangxianting - 11:8.2.0-8 +- remove chrpath + * Tue Apr 16 2024 Keqian Zhu - 11:8.2.0-7 - arm/virt: Use max_cpus to calculate redist1_count - arm/virt: Use separate filed to identify cpu-hotplug enable -- Gitee