From 6b5e9020da4b740bae7dff88f6764d40537640bb Mon Sep 17 00:00:00 2001 From: Ming Yang Date: Wed, 19 May 2021 09:07:14 +0000 Subject: [PATCH] add strip for block-iscsi.so, block-rbd.so and block-ssh.so. Signed-off-by: Ming Yang --- qemu.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/qemu.spec b/qemu.spec index 40efca6..0e67d29 100644 --- a/qemu.spec +++ b/qemu.spec @@ -1,6 +1,6 @@ Name: qemu Version: 4.1.0 -Release: 43 +Release: 44 Epoch: 2 Summary: QEMU is a generic and open source machine emulator and virtualizer License: GPLv2 and BSD and MIT and CC-BY-SA-4.0 @@ -524,6 +524,10 @@ rm -rf %{buildroot}%{_libexecdir}/vhost-user-gpu rm -rf %{buildroot}%{_datadir}/%{name}/vhost-user/50-qemu-gpu.json +strip %{buildroot}%{_libdir}/%{name}/block-rbd.so +strip %{buildroot}%{_libdir}/%{name}/block-iscsi.so +strip %{buildroot}%{_libdir}/%{name}/block-ssh.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 @@ -651,6 +655,9 @@ getent passwd qemu >/dev/null || \ %endif %changelog +* Wed May 19 2021 Ming Yang +- add strip for block-iscsi.so, block-rbd.so and block-ssh.so. + * Wed May 19 2021 Chen Qun - scsi: mptsas: dequeue request object in case of an error -- Gitee