[polkit] Use %{_unitdir}

Miloslav Trmac mitr at fedoraproject.org
Sat May 11 00:33:30 UTC 2013


commit 2fd403e48e5ba0f34698ab374646ac20ab5a2422
Author: Miloslav Trmač <mitr at redhat.com>
Date:   Sat May 11 01:43:02 2013 +0200

    Use %{_unitdir}

 polkit.spec |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/polkit.spec b/polkit.spec
index 15e9474..3d3ff46 100644
--- a/polkit.spec
+++ b/polkit.spec
@@ -130,7 +130,7 @@ exit 0
 %{_datadir}/man/man1/*
 %{_datadir}/man/man8/*
 %{_datadir}/dbus-1/system-services/*
-%{_prefix}/lib/systemd/system/polkit.service
+%{_unitdir}/polkit.service
 %dir %{_datadir}/polkit-1/
 %dir %{_datadir}/polkit-1/actions
 %attr(0700,polkitd,root) %dir %{_datadir}/polkit-1/rules.d
@@ -165,6 +165,7 @@ exit 0
 %changelog
 * Fri May 10 2013 Miloslav Trmač <mitr at redhat.com> - 0.110-4
 - Build with V=1
+- Use %%{_unitdir} instead of hard-coding the path
 - Use the new systemd macros, primarily to run (systemctl daemon-reload)
   Resolves: #857382
 


More information about the scm-commits mailing list