summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--packaging/alarm-manager.spec3
2 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b753702..c4a57e6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -51,7 +51,7 @@ ADD_SUBDIRECTORY(alarm-session-agent)
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/)
diff --git a/packaging/alarm-manager.spec b/packaging/alarm-manager.spec
index 13cd87d..51d19b6 100644
--- a/packaging/alarm-manager.spec
+++ b/packaging/alarm-manager.spec
@@ -94,6 +94,7 @@ export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
%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}
@@ -151,7 +152,7 @@ cp -f scripts/508.alarmmgr_upgrade.sh %{buildroot}%{upgrade_script_path}
%{_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