rpm: Specify the full list of installed binaries

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 <fabiano.fidencio@intel.com>
This commit is contained in:
Fabiano Fidêncio 2021-11-12 14:43:40 +01:00 committed by Bo Chen
parent cfdf643237
commit 9260e3b273

View File

@ -97,8 +97,16 @@ rm -rf %{buildroot}
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_bindir}/* %{_bindir}/ch-remote
%{_libdir}/cloud-hypervisor %{_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-APACHE
%license LICENSE-BSD-3-Clause %license LICENSE-BSD-3-Clause