[dovecot/f21] use network-online target instead of just network (#1119814)

Michal Hlavinka mhlavink at fedoraproject.org
Thu Aug 21 12:15:14 UTC 2014


commit 270d114d9188ba42c7bf496e28c191499b59970b
Author: Michal Hlavinka <mhlavink at redhat.com>
Date:   Thu Aug 21 14:15:07 2014 +0200

    use network-online target instead of just network (#1119814)

 dovecot-2.2.13-online.patch |   11 +++++++++++
 dovecot.spec                |    7 ++++++-
 2 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/dovecot-2.2.13-online.patch b/dovecot-2.2.13-online.patch
new file mode 100644
index 0000000..bc8c844
--- /dev/null
+++ b/dovecot-2.2.13-online.patch
@@ -0,0 +1,11 @@
+diff -up dovecot-2.2.13/dovecot.service.in.online dovecot-2.2.13/dovecot.service.in
+--- dovecot-2.2.13/dovecot.service.in.online	2014-08-21 13:40:37.998225041 +0200
++++ dovecot-2.2.13/dovecot.service.in	2014-08-21 13:40:49.903167774 +0200
+@@ -1,6 +1,6 @@
+ [Unit]
+ Description=Dovecot IMAP/POP3 email server
+-After=local-fs.target network.target
++After=local-fs.target network-online.target
+ 
+ [Service]
+ Type=simple
diff --git a/dovecot.spec b/dovecot.spec
index 2478e6c..a6da42c 100644
--- a/dovecot.spec
+++ b/dovecot.spec
@@ -5,7 +5,7 @@ Name: dovecot
 Epoch: 1
 Version: 2.2.13
 %global prever %{nil}
-Release: 3%{?dist}
+Release: 4%{?dist}
 #dovecot itself is MIT, a few sources are PD, pigeonhole is LGPLv2
 License: MIT and LGPLv2
 Group: System Environment/Daemons
@@ -35,6 +35,7 @@ Patch5: dovecot-2.1-privatetmp.patch
 
 #wait for network
 Patch6: dovecot-2.1.10-waitonline.patch
+Patch7: dovecot-2.2.13-online.patch
 
 Source15: prestartscript
 
@@ -131,6 +132,7 @@ This package provides the development files for dovecot.
 %patch4 -p1 -b .reload
 %patch5 -p1 -b .privatetmp
 %patch6 -p1 -b .waitonline
+%patch7 -p1 -b .online
 sed -i '/DEFAULT_INCLUDES *=/s|$| '"$(pkg-config --cflags libclucene-core)|" src/plugins/fts-lucene/Makefile.in
 
 %build
@@ -485,6 +487,9 @@ make check
 %{_libdir}/%{name}/dict/libdriver_pgsql.so
 
 %changelog
+* Thu Aug 21 2014 Michal Hlavinka <mhlavink at redhat.com> - 1:2.2.13-4
+- use network-online target instead of just network (#1119814)
+
 * Sat Aug 16 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:2.2.13-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 


More information about the scm-commits mailing list