diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/control | 6 | ||||
-rwxr-xr-x | debian/rules | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/debian/control b/debian/control index f1d6d7a..f8ab8d7 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,7 @@ Homepage: http://johannes.sipsolutions.net/Projects/dovecot-antispam Package: dovecot-antispam-crm114 Architecture: any -Depends: dovecot-imapd, ${shlibs:Depends} +Depends: dovecot-imapd (= ${dovecot-dev}), ${shlibs:Depends} Provides: dovecot-antispam Conflicts: dovecot-antispam Description: Dovecot IMAP server antispam plugin @@ -20,7 +20,7 @@ Tag: mail::imap, works-with::mail Package: dovecot-antispam-dspam Architecture: any -Depends: dovecot-imapd, ${shlibs:Depends} +Depends: dovecot-imapd (= ${dovecot-dev}), ${shlibs:Depends} Provides: dovecot-antispam Conflicts: dovecot-antispam Description: Dovecot IMAP server antispam plugin @@ -32,7 +32,7 @@ Tag: mail::imap, works-with::mail Package: dovecot-antispam-mailtrain Architecture: any -Depends: dovecot-imapd, ${shlibs:Depends} +Depends: dovecot-imapd (= ${dovecot-dev}), ${shlibs:Depends} Provides: dovecot-antispam Conflicts: dovecot-antispam Description: Dovecot IMAP server antispam plugin diff --git a/debian/rules b/debian/rules index aa9edc3..65756b3 100755 --- a/debian/rules +++ b/debian/rules @@ -80,6 +80,9 @@ binary-common: dh_makeshlibs dh_installdeb dh_shlibdeps + @dpkg-query -W dovecot-dev | sed 's/\t/=/' >> debian/dovecot-antispam-dspam.substvars + @dpkg-query -W dovecot-dev | sed 's/\t/=/' >> debian/dovecot-antispam-crm114.substvars + @dpkg-query -W dovecot-dev | sed 's/\t/=/' >> debian/dovecot-antispam-mailtrain.substvars dh_gencontrol dh_md5sums dh_builddeb |