Remove app-core-efl-debuginfo dependecy
Change-Id: I5a42363272ce7a001098cbae1636461c5e847c32
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)
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