From: Wook Song Date: Thu, 22 Jun 2017 09:54:12 +0000 (+0900) Subject: pass-hal: tm1: packaging: Use %{_libdir} macro instead of /usr/lib X-Git-Tag: submit/tizen/20170629.044637^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e30ce838f2c6004138a6376307bcc52ac593a37c;p=platform%2Fadaptation%2Ftm1%2Fpass-hal-tm1.git pass-hal: tm1: packaging: Use %{_libdir} macro instead of /usr/lib 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 --- diff --git a/packaging/pass-hal-tm1.spec b/packaging/pass-hal-tm1.spec index b8b179c..24520fd 100644 --- a/packaging/pass-hal-tm1.spec +++ b/packaging/pass-hal-tm1.spec @@ -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