From 51c0a33e340c83f288739ce785932585d3be57ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Pavl=C3=ADn?= Date: Wed, 24 Apr 2013 12:45:48 +0100 Subject: [PATCH] Add new systemd macros (#856659) Signed-off-by: Richard Hughes --- colord.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/colord.spec b/colord.spec index 10aa3dd..0da7a16 100644 --- a/colord.spec +++ b/colord.spec @@ -19,7 +19,7 @@ Summary: Color daemon Name: colord Version: 0.1.33 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ and LGPLv2+ URL: http://www.freedesktop.org/software/colord/ Source0: http://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz @@ -157,10 +157,15 @@ exit 0 %post /sbin/ldconfig glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : +%systemd_post colord.service + +%preun +%systemd_preun colord.service %postun /sbin/ldconfig glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : +%systemd_postun colord.service %files -f %{name}.lang %doc README AUTHORS NEWS COPYING @@ -263,6 +268,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %{_datadir}/gtk-doc/html/colord/* %changelog +* Wed Apr 24 2013 Václav Pavlín - 0.1.33-2 +- Add new systemd macros (#856659) + * Tue Apr 16 2013 Richard Hughes 0.1.33-1 - New upstream version - Add some translated profile descriptions for the CMYK profiles