Add new systemd macros (#856659)

Signed-off-by: Richard Hughes <richard@hughsie.com>
This commit is contained in:
Václav Pavlín 2013-04-24 12:45:48 +01:00 committed by Richard Hughes
parent 7778552baa
commit 51c0a33e34

View File

@ -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@redhat.com> - 0.1.33-2
- Add new systemd macros (#856659)
* Tue Apr 16 2013 Richard Hughes <richard@hughsie.com> 0.1.33-1
- New upstream version
- Add some translated profile descriptions for the CMYK profiles