[colord] Add new systemd macros (#856659)

Richard Hughes rhughes at fedoraproject.org
Wed Apr 24 11:54:15 UTC 2013


commit 51c0a33e340c83f288739ce785932585d3be57ae
Author: Václav Pavlín <vpavlin at redhat.com>
Date:   Wed Apr 24 12:45:48 2013 +0100

    Add new systemd macros (#856659)
    
    Signed-off-by: Richard Hughes <richard at hughsie.com>

 colord.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
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 <vpavlin at redhat.com> - 0.1.33-2
+- Add new systemd macros (#856659)
+
 * Tue Apr 16 2013 Richard Hughes <richard at hughsie.com> 0.1.33-1
 - New upstream version
 - Add some translated profile descriptions for the CMYK profiles


More information about the scm-commits mailing list