model-config: add dependency for the model-config.xml 09/111809/1 accepted/tizen/common/20170124.181928 accepted/tizen/ivi/20170124.120951 accepted/tizen/mobile/20170124.120857 accepted/tizen/tv/20170124.120915 accepted/tizen/wearable/20170124.120932 submit/tizen/20170124.063914
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 06:11:55 +0000 (15:11 +0900)
During image creation, model-config.xml file needs
to be installed before system-info. Thus the dependency
is added.

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

index 33583b2..959a0aa 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