# correct system-servant kept, you need to reinstall system-servant after
# uninstalling profile_mobile
mv /%{_bindir}/sysapp-launcher.mobile /%{_bindir}/sysapp-launcher
-mv /%{TZ_SYS_RO_APP}/org.tizen.powerkey-syspopup/bin/powerkey-popup.mobile /%{TZ_SYS_RO_APP}/org.tizen.powerkey-syspopup/bin/powerkey-popup
mv /%{TZ_SYS_RO_APP}/org.tizen.system-syspopup/bin/system-syspopup.mobile /%{TZ_SYS_RO_APP}/org.tizen.system-syspopup/bin/system-syspopup
# Because of CAPI incompatibility from EFL-EXT, circle is buildable only for wearable and "unified (undefined)"
# correct system-servant kept, you need to reinstall system-servant after
# uninstalling profile_wearable-circle
mv /%{_bindir}/sysapp-launcher.wearable /%{_bindir}/sysapp-launcher
-mv /%{TZ_SYS_RO_APP}/org.tizen.powerkey-syspopup/bin/powerkey-popup.wearable /%{TZ_SYS_RO_APP}/org.tizen.powerkey-syspopup/bin/powerkey-popup
mv /%{TZ_SYS_RO_APP}/org.tizen.system-syspopup/bin/system-syspopup.wearable /%{TZ_SYS_RO_APP}/org.tizen.system-syspopup/bin/system-syspopup
%post extension-rectangle-profile_wearable
# correct system-servant kept, you need to reinstall system-servant after
# uninstalling profile_wearable-rectangle
mv /%{_bindir}/sysapp-launcher.wearable /%{_bindir}/sysapp-launcher
-mv /%{TZ_SYS_RO_APP}/org.tizen.powerkey-syspopup/bin/powerkey-popup.wearable /%{TZ_SYS_RO_APP}/org.tizen.powerkey-syspopup/bin/powerkey-popup
mv /%{TZ_SYS_RO_APP}/org.tizen.system-syspopup/bin/system-syspopup.wearable /%{TZ_SYS_RO_APP}/org.tizen.system-syspopup/bin/system-syspopup
%endif
# uninstalling profile_common
mv /%{_bindir}/sysapp-launcher.common /%{_bindir}/sysapp-launcher
+%post -n org.tizen.powerkey-syspopup.mobile
+mv /%{TZ_SYS_RO_APP}/org.tizen.powerkey-syspopup/bin/powerkey-popup.mobile /%{TZ_SYS_RO_APP}/org.tizen.powerkey-syspopup/bin/powerkey-popup
+
+%post -n org.tizen.powerkey-syspopup.wearable
+mv /%{TZ_SYS_RO_APP}/org.tizen.powerkey-syspopup/bin/powerkey-popup.wearable /%{TZ_SYS_RO_APP}/org.tizen.powerkey-syspopup/bin/powerkey-popup
+
%files
%manifest %{name}.manifest
%license LICENSE.Apache-2.0