packaging: Add hal-rootstrap-tv BuildRequires dependency on TV profile build 89/314089/1
authorChanwoo Choi <cw00.choi@samsung.com>
Fri, 5 Jul 2024 04:45:10 +0000 (13:45 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 5 Jul 2024 04:49:04 +0000 (13:49 +0900)
Generate hal-rootstrap including the packages maintained in
hal-rootstrap-tv when TV profile build.

Change-Id: Iad74a2e3a847b225ddb97766086629a579fe20d0
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
packaging/hal-rootstrap.spec

index 7fbb47f5f617d32249c0f4e5c453fe77d1b5e7af..3ecfa86e86449eba7559c797a7c029fbdbd75c54 100644 (file)
@@ -16,6 +16,9 @@ BuildRequires:        xmlstarlet
 BuildRequires: python3
 
 BuildRequires: hal-rootstrap-common
+%if "%{tizen_profile_name}" == "tv"
+BuildRequires: hal-rootstrap-tv
+%endif
 
 ### hal-rootstrap-devel
 %package -n    %{devel_name}