summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintae, jeon <intae.jeon@samsung.com>2017-02-22 12:52:04 +0900
committerintae jeon <intae.jeon@samsung.com>2017-03-14 22:03:22 -0700
commit18636ef2c30f55e5a375cf7f1e505ad2c9c059b1 (patch)
tree84984c7c05072cd87632d9acddfc2df8f185739b
parente4274e3af5097e3ca13bb101484f8d37530e9be4 (diff)
downloademail-service-18636ef2c30f55e5a375cf7f1e505ad2c9c059b1.tar.gz
email-service-18636ef2c30f55e5a375cf7f1e505ad2c9c059b1.tar.bz2
email-service-18636ef2c30f55e5a375cf7f1e505ad2c9c059b1.zip
fix target.wants for dbus
Change-Id: I4521a95a25d0a91ff35bc0815139f0e82baf40d3 Signed-off-by: intae, jeon <intae.jeon@samsung.com>
-rwxr-xr-xpackaging/email-service.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/packaging/email-service.spec b/packaging/email-service.spec
index f805242..074ff9c 100755
--- a/packaging/email-service.spec
+++ b/packaging/email-service.spec
@@ -120,9 +120,9 @@ cp -f res/%{name}.sql %{buildroot}%{upgrade_data_path}
%make_install
mkdir -p %{buildroot}%{_unitdir_user}
-mkdir -p %{buildroot}%{_unitdir_user}/basic.target.wants
+mkdir -p %{buildroot}%{_unitdir_user}/default.target.wants
install -m 0644 %{SOURCE4} %{buildroot}%{_unitdir_user}/email-service.service
-ln -s ../email-service.service %{buildroot}%{_unitdir_user}/basic.target.wants/email-service.service
+ln -s ../email-service.service %{buildroot}%{_unitdir_user}/default.target.wants/email-service.service
mkdir -p %{buildroot}%{_unitdir_user}/sockets.target.wants
install -m 0644 %{SOURCE1} %{buildroot}%{_unitdir_user}/email-service.socket
@@ -163,7 +163,7 @@ systemctl daemon-reload
%{_bindir}/email-service
%{_libdir}/lib*.so.*
%{_unitdir_user}/email-service.service
-%{_unitdir_user}/basic.target.wants/email-service.service
+%{_unitdir_user}/default.target.wants/email-service.service
%{_unitdir_user}/email-service.socket
%{_unitdir_user}/sockets.target.wants/email-service.socket
%{_datarootdir}/dbus-1/services/email-service.service