From 30fb382fa855a8ab514c8f808ccecf357fe66a78 Mon Sep 17 00:00:00 2001 From: Wonkeun Oh Date: Mon, 2 Feb 2015 22:02:23 +0900 Subject: [PATCH] Modified systemd directory for supporting 64 bits Change-Id: I14d386254ae6ccb97ca028d6349254177778430d --- Makefile.am | 3 ++- packaging/isf.spec | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 9bc30c9..d543515 100644 --- a/Makefile.am +++ b/Makefile.am @@ -57,7 +57,8 @@ pkgconfig_DATA = isf.pc scim.pc \ $(GTK_UTILS_PKGCONFIG) -systemduserunitdir = $(libdir)/systemd/system +# $(libdir) will be /usr/lib64 on x86_64 arch, so hard-coded. +systemduserunitdir = /usr/lib/systemd/system systemduserunit_DATA = scim.service ACLOCAL_AMFLAGS = -I ism/m4 diff --git a/packaging/isf.spec b/packaging/isf.spec index 61c6131..452e76c 100644 --- a/packaging/isf.spec +++ b/packaging/isf.spec @@ -147,8 +147,8 @@ cat scim.lang > isf.lang %dir /opt/apps/scim/lib/scim-1.0/1.4.0/SetupUI %dir /opt/apps/scim/lib/scim-1.0/1.4.0/IMEngine %dir /etc/scim/conf -%{_libdir}/systemd/system/graphical.target.wants/scim.service -%{_libdir}/systemd/system/scim.service +%{_prefix}/lib/systemd/system/graphical.target.wants/scim.service +%{_prefix}/lib/systemd/system/scim.service %attr(755,root,root) %{_sysconfdir}/profile.d/isf.sh %{_sysconfdir}/scim/global %{_sysconfdir}/scim/config -- 2.7.4