packages: dovecot/dovecot.spec - use %service macro - dropped TODO (done) -...
pawelz
pawelz at pld-linux.org
Sun Oct 31 02:17:52 CEST 2010
Author: pawelz Date: Sun Oct 31 00:17:52 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- use %service macro
- dropped TODO (done)
- rel 3
---- Files affected:
packages/dovecot:
dovecot.spec (1.169 -> 1.170)
---- Diffs:
================================================================
Index: packages/dovecot/dovecot.spec
diff -u packages/dovecot/dovecot.spec:1.169 packages/dovecot/dovecot.spec:1.170
--- packages/dovecot/dovecot.spec:1.169 Thu Oct 28 11:52:57 2010
+++ packages/dovecot/dovecot.spec Sun Oct 31 02:17:46 2010
@@ -1,6 +1,4 @@
# $Revision$, $Date$
-# TODO:
-# - use service macros
#
# Conditional build:
%bcond_without gssapi # without GSSAPI support
@@ -14,7 +12,7 @@
Summary(pl.UTF-8): Serwer IMAP i POP3 pisany głównie z myślą o bezpieczeństwie
Name: dovecot
Version: 2.0.6
-Release: 2
+Release: 3
Epoch: 1
License: MIT (libraries), LGPL v2.1 (the rest)
Group: Networking/Daemons
@@ -210,17 +208,11 @@
%post
/sbin/chkconfig --add dovecot
-if [ -f /var/lock/subsys/dovecot ]; then
- /etc/rc.d/init.d/dovecot restart >&2
-else
- echo "Run \"/etc/rc.d/init.d/dovecot start\" to start dovecot daemon."
-fi
+%service sshd reload "dovecot"
%preun
if [ "$1" = "0" ]; then
- if [ -f /var/lock/subsys/dovecot ]; then
- /etc/rc.d/init.d/dovecot stop >&2
- fi
+ %service dovecot stop
/sbin/chkconfig --del dovecot
fi
@@ -349,6 +341,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.170 2010/10/31 00:17:46 pawelz
+- use %service macro
+- dropped TODO (done)
+- rel 3
+
Revision 1.169 2010/10/28 09:52:57 caleb
- TODO was accidentally removed (sorry), but having [percent]service in the spec even on a commented line breaks the build. Bug in builder?
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/dovecot/dovecot.spec?r1=1.169&r2=1.170&f=u
More information about the pld-cvs-commit
mailing list