From 38cdf5113127519d0a13b7789166ed57c0e821a5 Mon Sep 17 00:00:00 2001 From: Chanwoo Choi Date: Wed, 13 Jan 2021 17:05:34 +0900 Subject: Add macros for new /hal path 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 --- macros.in | 7 +++++++ 1 file changed, 7 insertions(+) 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. -- cgit v1.2.3