model-config: add dependency for the model-config.xml 22/111822/1 accepted/tizen/3.0/common/20170124.155448 accepted/tizen/3.0/ivi/20170124.121529 accepted/tizen/3.0/mobile/20170124.121441 accepted/tizen/3.0/tv/20170124.121459 accepted/tizen/3.0/wearable/20170124.121513 submit/tizen_3.0/20170124.074917
authortaeyoung <ty317.kim@samsung.com>
Tue, 24 Jan 2017 06:11:55 +0000 (15:11 +0900)
committertaeyoung <ty317.kim@samsung.com>
Tue, 24 Jan 2017 07:45:34 +0000 (16:45 +0900)
During image creation, model-config.xml file needs
to be installed before system-info. Thus the dependency
is added.

Change-Id: I31d91c375e9a6d39854fdea3fdc8eefa87f7f073
Signed-off-by: taeyoung <ty317.kim@samsung.com>
packaging/capi-system-info.spec

index 33583b2d8dcfc23e2e6a37154a7fa636bf9db2d6..959a0aa0d3e503d14a7fe9ecf8d4dd131236119b 100644 (file)
@@ -1,5 +1,7 @@
 %bcond_with emulator
 
+%define config_file_path /etc/config/model-config.xml
+
 Name:           capi-system-info
 Version:        0.2.0
 Release:        0
@@ -21,6 +23,7 @@ BuildRequires:  gdbm-devel
 BuildRequires:  glibc-devel-static
 %endif
 Requires: security-config
+Requires: %{config_file_path}
 
 %description
 
@@ -43,7 +46,6 @@ cp %{SOURCE1001} .
 %define EMULATOR off
 %endif
 
-%define config_file_path /etc/config/model-config.xml
 %define info_file_path /etc/info.ini
 %define sysinfo_shared_path %{TZ_SYS_ETC}/sysinfo
 %define tizen_id_path %{sysinfo_shared_path}/tizenid