From: Kyuho Jo Date: Thu, 3 Mar 2016 02:17:31 +0000 (+0900) Subject: Remove hardcorded file path X-Git-Tag: submit/tizen/20160303.072344^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6f7f4b8776acf45e6fb9cb3b29107d7f9601d9f4;p=profile%2Ftv%2Fapps%2Fnative%2Fair_apps.git Remove hardcorded file path Change-Id: I09afb6a467ea709d8a1a46d0ca95550012b00bf7 Signed-off-by: Kyuho Jo --- diff --git a/CMakeLists.txt b/CMakeLists.txt index b677503..37954b4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,7 +45,7 @@ IF(NOT DEFINED IMGDIR) SET(IMGDIR "${PREFIX}/res/images") ENDIF(NOT DEFINED IMGDIR) IF(NOT DEFINED PACKAGEDIR) - SET(PACKAGEDIR "/usr/share/packages") + SET(PACKAGEDIR "${TZ_SYS_RO_SHARE}/packages") ENDIF(NOT DEFINED PACKAGEDIR) SET(SRCS diff --git a/packaging/org.tizen.apps.spec b/packaging/org.tizen.apps.spec index da419b5..205b620 100644 --- a/packaging/org.tizen.apps.spec +++ b/packaging/org.tizen.apps.spec @@ -13,8 +13,9 @@ BuildRequires: pkgconfig(capi-appfw-application) BuildRequires: pkgconfig(app-utils) BuildRequires: pkgconfig(pkgmgr-info) BuildRequires: pkgconfig(capi-appfw-package-manager) +BuildRequires: pkgconfig(libtzplatform-config) -%define _appdir /usr/apps/%{name} +%define _appdir %{TZ_SYS_RO_APP}/%{name} %define _bindir %{_appdir}/bin %define _resdir %{_appdir}/res %define _edjedir %{_resdir}/edje