From 52a6f7f6bf8a9dc417c44ae1ebb2016eca260a67 Mon Sep 17 00:00:00 2001 From: zhangxianting Date: Wed, 8 May 2024 13:51:05 +0800 Subject: [PATCH] remove chrpath (cherry picked from commit 1d444d401d775b5a11a3e65aff59aa1c6a993f9c) --- qemu.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/qemu.spec b/qemu.spec index 36e697a2..3ee7338f 100644 --- a/qemu.spec +++ b/qemu.spec @@ -3,7 +3,7 @@ Name: qemu Version: 8.2.0 -Release: 10 +Release: 11 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 @@ -623,7 +623,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 ELF | grep -q -i shared || readelf -d $f | grep -q -i rpath; then chrpath --delete $f; fi done %check @@ -847,6 +847,9 @@ getent passwd qemu >/dev/null || \ %endif %changelog +* Wed Apr 17 2024 zhangxianting - 11:8.2.0-11 +- remove chrpath + * Mon Apr 22 2024 Jiabo Feng - 11:8.2.0-10 - hw/sd/sdhci: Do not update TRNMOD when Command Inhibit (DAT) is set(CVE-2024-3447) - hw/virtio/virtio-crypto: Protect from DMA re-entrancy bugs(CVE-2024-3446) -- Gitee