From 6be1d6c24f772483b5aebe4f94c926917c1fa7b0 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Feb 23 2017 19:56:17 +0000 Subject: Use macros for systemd system and user unit dirs --- diff --git a/colord.spec b/colord.spec index 95445af..39d9b66 100644 --- a/colord.spec +++ b/colord.spec @@ -201,13 +201,13 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %{_libdir}/colord-sensors %{_libdir}/colord-plugins %ghost %attr(-,colord,colord) %{_localstatedir}/lib/colord/*.db -/usr/lib/systemd/system/colord.service +%{_unitdir}/colord.service # session helper %{_libexecdir}/colord-session %{_datadir}/dbus-1/interfaces/org.freedesktop.ColorHelper.xml %{_datadir}/dbus-1/services/org.freedesktop.ColorHelper.service -/usr/lib/systemd/user/colord-session.service +%{_userunitdir}/colord-session.service # sane helper %if 0%{?enable_sane}