Use macros for systemd system and user unit dirs

This commit is contained in:
Kalev Lember 2017-02-23 20:56:17 +01:00
parent 1d1157a795
commit 6be1d6c24f

View File

@ -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}