From c4530bff68a307e787aab9f54029d8d003b94263 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Tue, 23 Jun 2020 19:07:50 +0900 Subject: [PATCH] Support 64bit architecture service file should be located in /usr/lib/systemd/system regardless of CPU architecture Change-Id: Iae14c7dd7acab9ca03de9d99a508c9a3a3d2483e Signed-off-by: Jihoon Kim --- packaging/smartreply.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/smartreply.spec b/packaging/smartreply.spec index 100a126..3513c9f 100755 --- a/packaging/smartreply.spec +++ b/packaging/smartreply.spec @@ -44,7 +44,7 @@ make %{?jobs:-j%jobs} rm -rf %{buildroot} %make_install -install -D -m 0644 packaging/smartreply.service %{buildroot}%{_libdir}/systemd/system/smartreply.service +install -D -m 0644 packaging/smartreply.service %{buildroot}%{_unitdir}/smartreply.service %post /sbin/ldconfig @@ -58,7 +58,7 @@ install -D -m 0644 packaging/smartreply.service %{buildroot}%{_libdir}/systemd/s %{_libdir}/*.so* %license LICENSE /etc/dbus-1/system.d/*.conf -%{_libdir}/systemd/system/smartreply.service +%{_unitdir}/smartreply.service #%if %{BINTYPE} == "engineer" %{_includedir}/smartreply/smartreply_service.h #%endif -- 2.34.1