Commit 8dc051844027873dd00acd3796de0e273f492987
Committed by
Gerrit Code Review
Merge "Tizen Directory Migration" into devel/master
Showing
1 changed file
with
4 additions
and
5 deletions
packaging/com.samsung.dali-demo.spec
| @@ -39,22 +39,21 @@ of the capability of the toolkit. | @@ -39,22 +39,21 @@ of the capability of the toolkit. | ||
| 39 | %prep | 39 | %prep |
| 40 | %setup -q | 40 | %setup -q |
| 41 | 41 | ||
| 42 | - | ||
| 43 | #Use TZ_PATH when tizen version is 3.x | 42 | #Use TZ_PATH when tizen version is 3.x |
| 43 | + | ||
| 44 | %if "%{tizen_version_major}" == "2" | 44 | %if "%{tizen_version_major}" == "2" |
| 45 | %define dali_app_ro_dir /usr/apps/com.samsung.dali-demo/ | 45 | %define dali_app_ro_dir /usr/apps/com.samsung.dali-demo/ |
| 46 | %define dali_xml_file_dir /usr/share/packages/ | 46 | %define dali_xml_file_dir /usr/share/packages/ |
| 47 | %define dali_icon_dir /usr/share/icons/ | 47 | %define dali_icon_dir /usr/share/icons/ |
| 48 | -%endif | ||
| 49 | - | ||
| 50 | -%if "%{tizen_version_major}" == "3" | 48 | +%define smack_rule_dir /etc/smack/accesses2.d/ |
| 49 | +%else | ||
| 51 | %define dali_app_ro_dir %TZ_SYS_RO_APP/com.samsung.dali-demo/ | 50 | %define dali_app_ro_dir %TZ_SYS_RO_APP/com.samsung.dali-demo/ |
| 52 | %define dali_xml_file_dir %TZ_SYS_RO_PACKAGES | 51 | %define dali_xml_file_dir %TZ_SYS_RO_PACKAGES |
| 53 | %define dali_icon_dir %TZ_SYS_RO_ICONS | 52 | %define dali_icon_dir %TZ_SYS_RO_ICONS |
| 53 | +%define smack_rule_dir %TZ_SYS_SMACK/accesses2.d/ | ||
| 54 | %endif | 54 | %endif |
| 55 | 55 | ||
| 56 | %define dali_app_exe_dir %{dali_app_ro_dir}/bin/ | 56 | %define dali_app_exe_dir %{dali_app_ro_dir}/bin/ |
| 57 | -%define smack_rule_dir /etc/smack/accesses2.d/ | ||
| 58 | %define locale_dir %{dali_app_ro_dir}/res/locale | 57 | %define locale_dir %{dali_app_ro_dir}/res/locale |
| 59 | %define local_style_dir ../../resources/style/mobile | 58 | %define local_style_dir ../../resources/style/mobile |
| 60 | 59 |