remove chrpath

This commit is contained in:
zhangxianting 2024-05-08 13:51:05 +08:00
parent 0b5938814d
commit 1d444d401d

View File

@ -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 <zhangxianting@uniontech.com> - 11:8.2.0-11
- remove chrpath
* Mon Apr 22 2024 Jiabo Feng <fengjiabo1@huawei.com> - 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)