Support 64bit architecture 41/236941/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Tue, 23 Jun 2020 10:07:50 +0000 (19:07 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Tue, 23 Jun 2020 10:08:00 +0000 (19:08 +0900)
service file should be located in /usr/lib/systemd/system regardless of CPU architecture

Change-Id: Iae14c7dd7acab9ca03de9d99a508c9a3a3d2483e
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
packaging/smartreply.spec

index 100a126218986378b0dd224aa684aecc7b26b923..3513c9fe020d17bdfd52a6f3aa73d163c71e4d89 100755 (executable)
@@ -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