- change to /opt/etc/dump.d/module.d/alarmmgr_log_dump.sh
Change-Id: I171a0f745088618b45aefcfb40fd727940c70a84
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
CONFIGURE_FILE(alarm-service.conf.in alarm-service.conf @ONLY)
INSTALL(TARGETS ${this_target} DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
IF(_APPFW_FEATURE_ALARM_MANAGER_MODULE_LOG)
- INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/alarmmgr_log_dump.sh DESTINATION ${SYSCONF_INSTALL_DIR}/dump.d/module.d/)
+ INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/alarmmgr_log_dump.sh DESTINATION ${TZ_SYS_ETC}/dump.d/module.d/)
ENDIF(_APPFW_FEATURE_ALARM_MANAGER_MODULE_LOG)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/alarm-service.conf DESTINATION ${SYSCONF_INSTALL_DIR}/dbus-1/system.d/)
%cmake . -DOBS=1 \
-DFULLVER=%{version} \
-DMAJORVER=${MAJORVER} \
+ -DTZ_SYS_ETC=%{TZ_SYS_ETC} \
-D_APPFW_FEATURE_ALARM_MANAGER_MODULE_LOG:BOOL=${_APPFW_FEATURE_ALARM_MANAGER_MODULE_LOG} \
-D_APPFW_FEATURE_WAKEUP_USING_RTC:BOOL=${_APPFW_FEATURE_WAKEUP_USING_RTC}
%{_libdir}/udev/rules.d/99-rtc.rules
%endif
%if 0%{?appfw_feature_alarm_manager_module_log}
-%attr(0755,root,root) %{_sysconfdir}/dump.d/module.d/alarmmgr_log_dump.sh
+%attr(0755,root,root) %{TZ_SYS_ETC}/dump.d/module.d/alarmmgr_log_dump.sh
%endif
%{upgrade_script_path}/508.alarmmgr_upgrade.sh