Revert service file path 59/201259/1 accepted/tizen/unified/20190312.112955 submit/tizen/20190312.015003
authorJihoon Jung <jh8801.jung@samsung.com>
Tue, 12 Mar 2019 01:40:10 +0000 (10:40 +0900)
committerJihoon Jung <jh8801.jung@samsung.com>
Tue, 12 Mar 2019 01:40:10 +0000 (10:40 +0900)
Change-Id: Ic0b40317abc154e6689fac300e692241084786fe
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
packaging/smartcard-service.spec
server/CMakeLists.txt

index 381ef6c..ec62fb9 100755 (executable)
@@ -69,14 +69,13 @@ export LDFLAGS+=" -lgcov "
 
 mkdir -p %{buildroot}/etc/dbus-1/system.d/
 cp -af %{_builddir}/%{name}-%{version}/packaging/org.tizen.SmartcardService.conf %{buildroot}/etc/dbus-1/system.d/
-install -D -m 0644 server/org.tizen.SmartcardService.service %{buildroot}/%{_unitdir}/org.tizen.SmartcardService.service
 
 %files
 %manifest %{name}.manifest
 %defattr(-,root,root,-)
 %{_bindir}/smartcard-daemon
 %{_sysconfdir}/dbus-1/system.d/org.tizen.SmartcardService.conf
-%{_unitdir}/org.tizen.SmartcardService.service
+%{_datadir}/dbus-1/system-services/org.tizen.SmartcardService.service
 %if 0%{?gtests:1}
 %{_bindir}/gtest*
 %endif
index bf970ab..09cc9b7 100644 (file)
@@ -58,3 +58,4 @@ ADD_EXECUTABLE(${PROJECT_NAME} ${SRCS})
 TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_LDFLAGS} "-L../common" "-lsmartcard-service-common" "-pie -ldl")
 
 INSTALL(TARGETS ${PROJECT_NAME} DESTINATION /usr/bin)
+INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/org.tizen.SmartcardService.service DESTINATION share/dbus-1/system-services)