summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2021-01-13 17:05:34 +0900
committerChanwoo Choi <cw00.choi@samsung.com>2021-01-14 11:00:08 +0900
commit38cdf5113127519d0a13b7789166ed57c0e821a5 (patch)
treec23749e5ad11a23c90e21ef562304846bac08789
parent9de33a8a7cd9eae05c3c1df4b2c0e1e4cd2bd40a (diff)
downloadrpm-38cdf5113127519d0a13b7789166ed57c0e821a5.tar.gz
rpm-38cdf5113127519d0a13b7789166ed57c0e821a5.tar.bz2
rpm-38cdf5113127519d0a13b7789166ed57c0e821a5.zip
Tizen 6.5 feature[1] supports new /hal path which including the HAL backend packages depend on h/w device. Need the following macros for HAL backend packages. - %{_hal_prefix} : /hal - %{_hal_libdir} : /hal/lib64 or /hal/lib - %{_hal_includedir} : /hal/include - %{_hal_sysconfdir} : /hal/etc - %{_hal_datadir} : /hal/share - %{_hal_licensedir} : /hal/share/licenses Change-Id: Ica958dbef37b1b23762c7b5e337161b3d8e0498b Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
-rw-r--r--macros.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/macros.in b/macros.in
index 053060daf..ea09df389 100644
--- a/macros.in
+++ b/macros.in
@@ -985,6 +985,13 @@ posix.setenv("RPMBUILD_SOURCEDIR",rpm.expand("%?_sourcedir"));
%_infodir %{_datadir}/info
%_mandir %{_datadir}/man
+%_hal_prefix /hal
+%_hal_libdir %{_hal_prefix}/%{_lib}
+%_hal_includedir %{_hal_prefix}/include
+%_hal_sysconfdir %{_hal_prefix}%{_sysconfdir}
+%_hal_datadir %{_hal_prefix}/share
+%_hal_licensedir %{_hal_prefix}/share/licenses
+
#==============================================================================
# ---- config.guess platform macros.
# Macro(s) similar to the tokens used by configure.