spec: add hw-usb-host rpm package
Signed-off-by: Yan Wang <wangyan122@huawei.com>
This commit is contained in:
parent
393705cbda
commit
d3ad6ab6ba
16
qemu.spec
16
qemu.spec
@ -1,6 +1,6 @@
|
||||
Name: qemu
|
||||
Version: 6.2.0
|
||||
Release: 27
|
||||
Release: 28
|
||||
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
|
||||
@ -297,6 +297,7 @@ Requires(preun): systemd-units
|
||||
Requires(postun): systemd-units
|
||||
Requires(postun): qemu-block-iscsi
|
||||
Requires(postun): qemu-block-curl
|
||||
Requires(postun): qemu-hw-usb-host
|
||||
|
||||
|
||||
%description
|
||||
@ -354,6 +355,11 @@ Summary: Qemu-block-curl
|
||||
%description block-curl
|
||||
This package provides block-curl support for Qemu
|
||||
|
||||
%package hw-usb-host
|
||||
Summary: Qemu-hw-usb-host
|
||||
%description hw-usb-host
|
||||
This package provides hw-usb-host support for Qemu
|
||||
|
||||
%ifarch %{ix86} x86_64
|
||||
%package seabios
|
||||
Summary: QEMU seabios
|
||||
@ -518,7 +524,6 @@ rm -rf %{buildroot}%{_libdir}/%{name}/chardev-baum.so
|
||||
rm -rf %{buildroot}%{_libdir}/%{name}/chardev-spice.so
|
||||
rm -rf %{buildroot}%{_libdir}/%{name}/hw-display-qxl.so
|
||||
rm -rf %{buildroot}%{_libdir}/%{name}/hw-s390x-virtio-gpu-ccw.so
|
||||
rm -rf %{buildroot}%{_libdir}/%{name}/hw-usb-host.so
|
||||
rm -rf %{buildroot}%{_libdir}/%{name}/hw-usb-redirect.so
|
||||
rm -rf %{buildroot}%{_libdir}/%{name}/ui-opengl.so
|
||||
rm -rf %{buildroot}%{_libdir}/%{name}/ui-spice-app.so
|
||||
@ -532,6 +537,7 @@ strip %{buildroot}%{_libdir}/%{name}/block-rbd.so
|
||||
strip %{buildroot}%{_libdir}/%{name}/block-iscsi.so
|
||||
strip %{buildroot}%{_libdir}/%{name}/block-curl.so
|
||||
strip %{buildroot}%{_libdir}/%{name}/block-ssh.so
|
||||
strip %{buildroot}%{_libdir}/%{name}/hw-usb-host.so
|
||||
|
||||
for f in %{buildroot}%{_bindir}/* %{buildroot}%{_libdir}/* \
|
||||
%{buildroot}%{_libexecdir}/*; do
|
||||
@ -680,6 +686,9 @@ getent passwd qemu >/dev/null || \
|
||||
%files block-curl
|
||||
%{_libdir}/%{name}/block-curl.so
|
||||
|
||||
%files hw-usb-host
|
||||
%{_libdir}/%{name}/hw-usb-host.so
|
||||
|
||||
%ifarch %{ix86} x86_64
|
||||
%files seabios
|
||||
%{_datadir}/%{name}/bios-256k.bin
|
||||
@ -687,6 +696,9 @@ getent passwd qemu >/dev/null || \
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Mar 24 2022 Yan Wang <wangyan122@huawei.com>
|
||||
- spec: add hw-usb-host rpm package
|
||||
|
||||
* Fri Mar 18 2022 yezengruan <yezengruan@huawei.com>
|
||||
- coro: support live patch for libcare
|
||||
- add patch for sw64 support
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user