summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJihoon Kim <jihoon48.kim@samsung.com>2016-08-25 07:41:40 +0900
committerJihoon Kim <jihoon48.kim@samsung.com>2016-08-25 07:41:40 +0900
commite1e5c45103b7d29451b92843e85e320066c18ff8 (patch)
treef3a0991043bf4b6dd45d5f7614ae524def3ef22c
parent845e2a48eadfb3e4d00573a11de98e080014701a (diff)
downloadisf-config-e1e5c45103b7d29451b92843e85e320066c18ff8.tar.gz
isf-config-e1e5c45103b7d29451b92843e85e320066c18ff8.tar.bz2
isf-config-e1e5c45103b7d29451b92843e85e320066c18ff8.zip
Fix bug not to create default.target.wants directory
Change-Id: I5d180f2176972d2fb7d91826b6a1310f02e0bed3 Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
-rw-r--r--packaging/isf-config-mobile.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/isf-config-mobile.spec b/packaging/isf-config-mobile.spec
index 40cffbd..c28d2b0 100644
--- a/packaging/isf-config-mobile.spec
+++ b/packaging/isf-config-mobile.spec
@@ -25,10 +25,10 @@ rm -rf %{buildroot}
%__cp etc/scim/conf/* %{buildroot}%{_sysconfdir}/scim/conf
%__cp scim.service %{buildroot}%{_prefix}/lib/systemd/user
%__cp scim.path %{buildroot}%{_prefix}/lib/systemd/user
+ln -sf ../scim.path %{buildroot}%{_prefix}/lib/systemd/user/default.target.wants/scim.path
%post
mkdir -p %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/
-ln -sf %{_prefix}/lib/systemd/user/scim.path %{_prefix}/lib/systemd/user/default.target.wants/scim.path
ln -sf %{_prefix}/lib/systemd/user/scim.service %{_sysconfdir}/systemd/default-extra-dependencies/ignore-units.d/
%files
@@ -37,4 +37,5 @@ ln -sf %{_prefix}/lib/systemd/user/scim.service %{_sysconfdir}/systemd/default-e
/etc/scim/conf/*
%{_prefix}/lib/systemd/user/scim.service
%{_prefix}/lib/systemd/user/scim.path
+%{_prefix}/lib/systemd/user/default.target.wants/scim.path
%license LICENSE.APLv2