summaryrefslogtreecommitdiff
path: root/packaging/isf-config-mobile.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/isf-config-mobile.spec')
-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