!285 为block-rbd, block-iscsi和block-ssh添加strip
From: @yangming73 Reviewed-by: @imxcc Signed-off-by: @imxcc
This commit is contained in:
commit
1369fa9a7f
@ -1,6 +1,6 @@
|
|||||||
Name: qemu
|
Name: qemu
|
||||||
Version: 4.1.0
|
Version: 4.1.0
|
||||||
Release: 55
|
Release: 56
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
Summary: QEMU is a generic and open source machine emulator and virtualizer
|
Summary: QEMU is a generic and open source machine emulator and virtualizer
|
||||||
License: GPLv2 and BSD and MIT and CC-BY-SA-4.0
|
License: GPLv2 and BSD and MIT and CC-BY-SA-4.0
|
||||||
@ -587,6 +587,10 @@ rm -rf %{buildroot}%{_libdir}/%{name}/ui-sdl.so
|
|||||||
rm -rf %{buildroot}%{_libexecdir}/vhost-user-gpu
|
rm -rf %{buildroot}%{_libexecdir}/vhost-user-gpu
|
||||||
rm -rf %{buildroot}%{_datadir}/%{name}/vhost-user/50-qemu-gpu.json
|
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}/* \
|
for f in %{buildroot}%{_bindir}/* %{buildroot}%{_libdir}/* \
|
||||||
%{buildroot}%{_libexecdir}/*; do
|
%{buildroot}%{_libexecdir}/*; do
|
||||||
if file $f | grep -q ELF | grep -q -i shared; then chrpath --delete $f; fi
|
if file $f | grep -q ELF | grep -q -i shared; then chrpath --delete $f; fi
|
||||||
@ -714,6 +718,9 @@ getent passwd qemu >/dev/null || \
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 19 2021 Ming Yang <yangming73@huawei.com>
|
||||||
|
- add strip for block-iscsi.so, block-rbd.so and block-ssh.so.
|
||||||
|
|
||||||
* Wed 19 May 2021 zhouli57 <zhouli57@huawei.com>
|
* Wed 19 May 2021 zhouli57 <zhouli57@huawei.com>
|
||||||
- util/cacheinfo: fix crash when compiling with uClibc
|
- util/cacheinfo: fix crash when compiling with uClibc
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user