From 9260e3b273a2d2a9567495a3d78d8563f6f0c716 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Fri, 12 Nov 2021 14:43:40 +0100 Subject: [PATCH] rpm: Specify the full list of installed binaries MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Although this not strictly needed, considering cloud-hypervisor installs only 8 binaries in total (4 per target), and that having that list of files expanded will help us in the very near future, let's just do it now. Signed-off-by: Fabiano FidĂȘncio --- rpm/cloud-hypervisor.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/rpm/cloud-hypervisor.spec b/rpm/cloud-hypervisor.spec index 0531ecc4a..c848b2ea0 100644 --- a/rpm/cloud-hypervisor.spec +++ b/rpm/cloud-hypervisor.spec @@ -97,8 +97,16 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) -%{_bindir}/* -%{_libdir}/cloud-hypervisor +%{_bindir}/ch-remote +%{_bindir}/cloud-hypervisor +%{_libdir}/cloud-hypervisor/vhost_user_block +%{_libdir}/cloud-hypervisor/vhost_user_net +%if 0%{?using_musl_libc} +%{_libdir}/cloud-hypervisor/static/ch-remote +%{_libdir}/cloud-hypervisor/static/cloud-hypervisor +%{_libdir}/cloud-hypervisor/static/vhost_user_block +%{_libdir}/cloud-hypervisor/static/vhost_user_net +%endif %license LICENSE-APACHE %license LICENSE-BSD-3-Clause