[3.0] Tizen Directory Migration 04/78504/1 accepted/tizen/common/20160711.170643 accepted/tizen/ivi/20160711.084839 accepted/tizen/mobile/20160711.084917 accepted/tizen/tv/20160711.084711 accepted/tizen/wearable/20160711.084759 submit/tizen/20160711.050618
authorminho.sun <minho.sun@samsung.com>
Wed, 6 Jul 2016 00:58:38 +0000 (09:58 +0900)
committerminho.sun <minho.sun@samsung.com>
Wed, 6 Jul 2016 00:59:13 +0000 (09:59 +0900)
Change absolute Directories to Tizen paths

Signed-off-by: minho.sun <minho.sun@samsung.com>
Change-Id: I377dbf0829ef0c7ee6ab5c01addbc74bc0238452

packaging/com.samsung.dali-demo.spec

index d80b742..8785539 100755 (executable)
@@ -39,22 +39,23 @@ 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/
+%define smack_rule_dir        /etc/smack/accesses2.d/
 %endif
 
 %if "%{tizen_version_major}" == "3"
 %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