Fix the system popup launching issue in the wearable profile 56/125656/1 accepted/tizen_4.0_unified tizen_4.0 accepted/tizen/4.0/unified/20170816.012338 accepted/tizen/4.0/unified/20170816.015248 accepted/tizen/4.0/unified/20170828.223336 accepted/tizen/unified/20170419.165331 submit/tizen/20170419.075856 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0/20170828.100003 submit/tizen_4.0_unified/20170814.115522 tizen_4.0.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.m1_release tizen_4.0.m2_release
authorDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 18 Apr 2017 08:22:33 +0000 (17:22 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 18 Apr 2017 08:22:33 +0000 (17:22 +0900)
Change-Id: I40f98c0daabd5700fbefb7b70a83e044b08c3122
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
packaging/org.tizen.bt-syspopup.spec

index 8b19a74..7cf3934 100644 (file)
@@ -181,6 +181,20 @@ popd
 # For backward-compatibility and GBM build optimization
 # if wearable, "unified". common may be added after efl-ext is unified/refactored.
 %if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
+%post profile_wearable
+pushd %{TZ_SYS_RO_APP}/org.tizen.bt-syspopup/bin
+mv bt-syspopup.wearable bt-syspopup
+popd
+pushd %{TZ_SYS_RO_APP}/org.tizen.bt-syspopup/res/edje
+mv custom_popup.edj.wearable custom_popup.edj
+popd
+%preun profile_wearable
+pushd %{TZ_SYS_RO_APP}/org.tizen.bt-syspopup/bin
+mv bt-syspopup bt-syspopup.wearable
+popd
+pushd %{TZ_SYS_RO_APP}/org.tizen.bt-syspopup/res/edje
+mv custom_popup.edj custom_popup.edj.wearable
+popd
 %files profile_wearable
 %license LICENSE
 %{TZ_SYS_RO_APP}/org.tizen.bt-syspopup/bin/bt-syspopup.wearable