Add hal-rootstrap-data-da to BuildRequires for DA build 09/315409/1
authorSangYoun Kwak <sy.kwak@samsung.com>
Fri, 29 Nov 2024 05:42:40 +0000 (14:42 +0900)
committerSangYoun Kwak <sy.kwak@samsung.com>
Mon, 2 Dec 2024 02:34:38 +0000 (11:34 +0900)
It is required to use datas defined in the hal-rootstrap-data-da package
when the build profile is DA, so the hal-rootstrap-data-da package is
added to BuildRequires for the DA build profile.

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

index 1ce874008fc42512517da3a9053a91b1d5f5ffaa..50ad844a3fc6c9e6b9648ce586428886e2ffe5da 100644 (file)
@@ -44,6 +44,9 @@ BuildRequires:        xmlstarlet
 BuildRequires: python3
 
 BuildRequires: hal-rootstrap-data-common
+%if "%{WITH_DA}" == "1"
+BuildRequires: hal-rootstrap-data-da
+%endif
 
 ### hal-rootstrap
 %description