Add macros for new /hal/bin and /hal/sbin path 26/255526/1 accepted/tizen_6.5_base_tool accepted/tizen/6.5/base/20230714.002705 accepted/tizen/6.5/base/tool/20211027.120635 accepted/tizen/base/tool/20210331.053905 submit/tizen_6.5_base/20211026.180901 submit/tizen_6.5_base/20211027.183101 submit/tizen_6.5_base/20211027.201101 submit/tizen_base/20210329.052725 tizen_6.5.m2_release
authorChanwoo Choi <cw00.choi@samsung.com>
Fri, 19 Mar 2021 05:01:46 +0000 (14:01 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 19 Mar 2021 05:01:46 +0000 (14:01 +0900)
Tizen 6.5 feature supports new /hal path which including the HAL backend
packages depend on h/w device. Need the following macros for HAL backend
packages:
- %{_hal_bindir}     : /hal/bin
- %{_hal_sbindir}    : /hal/sbin

Change-Id: I758eec8cd2a21849f21d254f29a911cc2862b828
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
macros.in

index 0fe8ff2..17a438d 100644 (file)
--- a/macros.in
+++ b/macros.in
@@ -995,6 +995,8 @@ posix.setenv("RPMBUILD_SOURCEDIR",rpm.expand("%?_sourcedir"));
 %_mandir               %{_datadir}/man
 
 %_hal_prefix           /hal
+%_hal_bindir           %{_hal_prefix}/bin
+%_hal_sbindir          %{_hal_prefix}/sbin
 %_hal_libdir           %{_hal_prefix}/%{_lib}
 %_hal_includedir       %{_hal_prefix}/include
 %_hal_sysconfdir       %{_hal_prefix}%{_sysconfdir}