Modify files section to include both lib/lib64
authorSangYoun Kwak <sy.kwak@samsung.com>
Mon, 27 May 2024 08:05:44 +0000 (17:05 +0900)
committerSangYoun Kwak <sy.kwak@samsung.com>
Mon, 27 May 2024 08:08:35 +0000 (17:08 +0900)
Since the build result can include lib, lib64 or both, just using
'%{_lib}' and '%{_libdir}' are not enough.
To include all possible situations, 'lib*/' is used.

Change-Id: Iaed4ee9d0174593223307a7c89b30eaadf91e483
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
packaging/hal-rootstrap.spec

index bd085d3..595d536 100644 (file)
@@ -439,10 +439,9 @@ cp packaging/hal-rootstrap.pc %{buildroot}%{_libdir}/pkgconfig/
 
 %files
 %{hal_rootstrap_install_path}/etc/*
-%{hal_rootstrap_install_path}/lib/*
-%{hal_rootstrap_install_path}/%{_lib}/*
+%{hal_rootstrap_install_path}/lib*/*
 %{hal_rootstrap_install_path}/usr/share/*
-%{hal_rootstrap_install_path}/%{_libdir}/*
+%{hal_rootstrap_install_path}/usr/lib*/*
 
 %files -n %{devel_name}
 %defattr(-,root,root,-)