From e30ce838f2c6004138a6376307bcc52ac593a37c Mon Sep 17 00:00:00 2001 From: Wook Song Date: Thu, 22 Jun 2017 18:54:12 +0900 Subject: [PATCH] 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 --- packaging/pass-hal-tm1.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.7.4