[FIX] Build for TV 09/69609/1 accepted/tizen/common/20160519.191437 accepted/tizen/ivi/20160519.085414 accepted/tizen/mobile/20160519.085428 accepted/tizen/tv/20160519.085407 accepted/tizen/wearable/20160519.085347 submit/tizen/20160519.050252
authorDmitry Kovalenko <d.kovalenko@samsung.com>
Mon, 16 May 2016 06:22:30 +0000 (09:22 +0300)
committerDmitry Kovalenko <d.kovalenko@samsung.com>
Mon, 16 May 2016 06:22:30 +0000 (09:22 +0300)
Remove app-core-efl-debuginfo dependecy

Change-Id: I5a42363272ce7a001098cbae1636461c5e847c32

packaging/swap-manager.spec
scripts/gen_nsp_data.sh

index 86a632d..27c4a22 100644 (file)
@@ -26,7 +26,9 @@ BuildRequires: pkgconfig(ecore)
 BuildRequires: launchpad
 BuildRequires: app-core-efl
 BuildRequires: libwayland-egl
+%if "%{TIZEN_PRODUCT_TV}" != "1"
 BuildRequires: app-core-efl-debuginfo
+%endif
 BuildRequires: swap-probe-devel
 BuildRequires: swap-probe-elf
 BuildRequires: pkgconfig(libtzplatform-config)
index 08db519..f066d34 100755 (executable)
@@ -37,7 +37,12 @@ source $script_dir/dyn_vars
 path_app_core_efl=$(rpm -ql app-core-efl | grep libappcore-efl | head -1)
 check_null_or_exit path_app_core_efl
 
-dpath_app_core_efl=$(rpm -ql app-core-efl-debuginfo | grep "libappcore-efl\.so.*\.debug$" | head -1)
+# get libappcore-efl.so debug_path
+if [ "$__tizen_product_tv__" == "1" ]; then
+       dpath_app_core_efl=$path_app_core_efl
+else
+       dpath_app_core_efl=$(rpm -ql app-core-efl-debuginfo | grep "libappcore-efl\.so.*\.debug$" | head -1)
+fi
 check_null_or_exit dpath_app_core_efl
 
 # get launchpad path