From ddab1b8fbe52f9223389e36d764d6ef8112c42a6 Mon Sep 17 00:00:00 2001 From: "minho.sun" Date: Mon, 4 Jul 2016 18:26:41 +0900 Subject: [PATCH] Tizen Directory Migration Change absolute Directories to Tizen paths Change-Id: I1916835c8a53153663b227aa51f4c075d6d9eb5a Signed-off-by: minho.sun --- packaging/com.samsung.dali-demo.spec | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/packaging/com.samsung.dali-demo.spec b/packaging/com.samsung.dali-demo.spec index 83740ba..2dd2f30 100755 --- a/packaging/com.samsung.dali-demo.spec +++ b/packaging/com.samsung.dali-demo.spec @@ -39,22 +39,21 @@ of the capability of the toolkit. %prep %setup -q - #Use TZ_PATH when tizen version is 3.x + %if "%{tizen_version_major}" == "2" %define dali_app_ro_dir /usr/apps/com.samsung.dali-demo/ %define dali_xml_file_dir /usr/share/packages/ %define dali_icon_dir /usr/share/icons/ -%endif - -%if "%{tizen_version_major}" == "3" +%define smack_rule_dir /etc/smack/accesses2.d/ +%else %define dali_app_ro_dir %TZ_SYS_RO_APP/com.samsung.dali-demo/ %define dali_xml_file_dir %TZ_SYS_RO_PACKAGES %define dali_icon_dir %TZ_SYS_RO_ICONS +%define smack_rule_dir %TZ_SYS_SMACK/accesses2.d/ %endif %define dali_app_exe_dir %{dali_app_ro_dir}/bin/ -%define smack_rule_dir /etc/smack/accesses2.d/ %define locale_dir %{dali_app_ro_dir}/res/locale %define local_style_dir ../../resources/style/mobile -- 2.7.4