pass-hal: tm1: packaging: Use %{_libdir} macro instead of /usr/lib 50/135450/1 submit/tizen/20170629.044637
authorWook Song <wook16.song@samsung.com>
Thu, 22 Jun 2017 09:54:12 +0000 (18:54 +0900)
committerWook Song <wook16.song@samsung.com>
Thu, 22 Jun 2017 09:54:12 +0000 (18:54 +0900)
This patch replaces the path referring to /usr/lib in the spec file with
the macro %{_libdir}.

Change-Id: Ia6f85906bd01a1876cb02eea4873b78dbaccc1c3
Signed-off-by: Wook Song <wook16.song@samsung.com>
packaging/pass-hal-tm1.spec

index b8b179c..24520fd 100644 (file)
@@ -37,7 +37,7 @@ rm -rf %{buildroot}
 %make_install
 %post
 /sbin/ldconfig
-systemd-tmpfiles /usr/lib/tmpfiles.d/pass-hal.conf --create
+systemd-tmpfiles %{_libdir}/tmpfiles.d/pass-hal.conf --create
 if [ -f %{_unitdir}/pass.service ]; then
        systemctl | grep pass.service  | awk '{if ($3 == "active" && $4 == "running") system("systemctl restart pass.service")}'
 fi