From 66ab8ae635b89c82d1f97d56f0896c17a263b3a2 Mon Sep 17 00:00:00 2001
From: Guilhem Moulin <guilhem@fripost.org>
Date: Wed, 9 Dec 2020 15:44:16 +0100
Subject: d/control: Add missing epoch number on dovecot-* dependencies.

---
 debian/changelog | 1 +
 debian/control   | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index cecbaeb..169095d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ interimap (0.5.3-1) UNRELEASED; urgency=medium
   * d/control: The test suite now requires Dovecot v2.2.31 or later (for
     ssl_alt_cert).
   * Add d/upstream/signing-key.asc, the OpenPGP used to signed upstream tags.
+  * d/control: Add missing epoch number on dovecot-* dependencies.
 
  -- Guilhem Moulin <guilhem@debian.org>  Wed, 09 Dec 2020 15:34:43 +0100
 
diff --git a/debian/control b/debian/control
index 203f56c..7a9d85a 100644
--- a/debian/control
+++ b/debian/control
@@ -3,8 +3,8 @@ Section: mail
 Priority: optional
 Maintainer: Guilhem Moulin <guilhem@debian.org>
 Build-Depends: debhelper-compat (= 13),
-               dovecot-imapd (>= 2.2.31~) <!nocheck>,
-               dovecot-lmtpd (>= 2~) <!nocheck>,
+               dovecot-imapd (>= 1:2.2.31~) <!nocheck>,
+               dovecot-lmtpd (>= 1:2~) <!nocheck>,
                jq,
                libconfig-tiny-perl <!nocheck>,
                libdbd-sqlite3-perl <!nocheck>,
@@ -26,7 +26,7 @@ Depends: libdbd-sqlite3-perl,
          libinterimap (>= ${source:Upstream-Version}~),
          ${misc:Depends},
          ${perl:Depends}
-Suggests: dovecot-imapd (>= 2~)
+Suggests: dovecot-imapd (>= 1:2~)
 Description: Fast bidirectional synchronization for QRESYNC-capable IMAP servers
  InterIMAP performs stateful bi-directional synchronization between two
  IMAP4rev1 servers.  Compared to the so-called "full" synchronization
-- 
cgit v1.2.3