From 3020f0f1f4f2f49972be56145db3048acd145c0e Mon Sep 17 00:00:00 2001 From: "sungwook79.park" Date: Wed, 15 May 2019 11:00:13 +0900 Subject: [PATCH] Adopt dbus policy Change-Id: I07004f3dadf81d7930e6084284eab2ef6fc17ffb Signed-off-by: sungwook79.park --- CMakeLists.txt | 1 + packaging/smartreply.spec | 1 + smartreply.conf | 19 +++++++++++++++++++ 3 files changed, 21 insertions(+) create mode 100644 smartreply.conf diff --git a/CMakeLists.txt b/CMakeLists.txt index c442310..3b7918f 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -71,6 +71,7 @@ CONFIGURE_FILE( @ONLY ) INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.pc DESTINATION ${LIBDIR}/pkgconfig) +INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.conf DESTINATION /etc/dbus-1/system.d) #test case #ADD_SUBDIRECTORY(test) diff --git a/packaging/smartreply.spec b/packaging/smartreply.spec index f4853e5..6036cf0 100755 --- a/packaging/smartreply.spec +++ b/packaging/smartreply.spec @@ -54,6 +54,7 @@ rm -rf %{buildroot} %defattr(-,root,root,-) %{_libdir}/*.so* %license LICENSE +/etc/dbus-1/system.d/*.conf #%if %{BINTYPE} == "engineer" %{_includedir}/smartreply/smartreply_service.h #%endif diff --git a/smartreply.conf b/smartreply.conf new file mode 100644 index 0000000..2e1cdca --- /dev/null +++ b/smartreply.conf @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + -- 2.34.1