[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1025755: bullseye-pu: package dovecot-fts-xapian/1.4.9a-1+deb11u1



On Thu, Dec 08, 2022 at 06:59:10PM +0200, Adrian Bunk wrote:
> Package: release.debian.org
> Severity: normal
> Tags: bullseye
> User: release.debian.org@packages.debian.org
> Usertags: pu
> X-Debbugs-Cc: Joseph Nahmias <jello@debian.org>
> 
>   * Generate dependency on dovecot ABI in use during build.
>     Technique stolen from dovecot-antispam packaging.
>     Thanks to Ron Lee <ron@debian.org> (Closes: #1009794)
> 
> debdiff of the change in the dependencies:
> Depends: libc6 (>= 2.14), libgcc-s1 (>= 3.0), libicu67 (>= 67.1-1~), libstdc++6 (>= 5.2), libxapian30 (>= [-1.4.17~)-] {+1.4.17~), dovecot-abi-2.3.abiv13+}
> 
> This ensures that on bullseye -> bookworm upgrades dovecot-fts-xapian
> will be upgraded at the same time as dovecot-core.
> 
> It also fixes the less severe issue that dovecot-fts-xapian is
> a plugin that was not previously depending on what it is a plugin for.

The debdiff is now attached.

cu
Adrian
diff -Nru dovecot-fts-xapian-1.4.9a/debian/changelog dovecot-fts-xapian-1.4.9a/debian/changelog
--- dovecot-fts-xapian-1.4.9a/debian/changelog	2021-06-24 16:09:17.000000000 +0300
+++ dovecot-fts-xapian-1.4.9a/debian/changelog	2022-12-08 18:49:00.000000000 +0200
@@ -1,3 +1,12 @@
+dovecot-fts-xapian (1.4.9a-1+deb11u1) bullseye; urgency=medium
+
+  * Non-maintainer upload.
+  * Generate dependency on dovecot ABI in use during build.
+    Technique stolen from dovecot-antispam packaging.
+    Thanks to Ron Lee <ron@debian.org> (Closes: #1009794)
+
+ -- Adrian Bunk <bunk@debian.org>  Thu, 08 Dec 2022 18:49:00 +0200
+
 dovecot-fts-xapian (1.4.9a-1) unstable; urgency=medium
 
   * [2da6c89] d/watch: allow non-numbers in version
diff -Nru dovecot-fts-xapian-1.4.9a/debian/control dovecot-fts-xapian-1.4.9a/debian/control
--- dovecot-fts-xapian-1.4.9a/debian/control	2021-06-23 05:10:41.000000000 +0300
+++ dovecot-fts-xapian-1.4.9a/debian/control	2022-12-08 18:48:53.000000000 +0200
@@ -18,7 +18,7 @@
 Architecture: any
 Provides: fts-xapian
 Enhances: dovecot-imapd, dovecot-pop3d
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}, dovecot-abi-${dovecot:ABI-Version}
 Description: full-text search for dovecot using xapian
  This project provides a straightforward and simple way to configure
  full-text search (FTS) for Dovecot, leveraging the efforts of the
diff -Nru dovecot-fts-xapian-1.4.9a/debian/rules dovecot-fts-xapian-1.4.9a/debian/rules
--- dovecot-fts-xapian-1.4.9a/debian/rules	2021-06-23 05:10:41.000000000 +0300
+++ dovecot-fts-xapian-1.4.9a/debian/rules	2022-12-08 18:48:53.000000000 +0200
@@ -5,5 +5,9 @@
 override_dh_auto_install:
 	dh_auto_install --destdir=debian/tmp
 
+override_dh_gencontrol: DOVECOT_ABI_VERSION = $(shell cat /usr/share/dovecot/dovecot-abi)
+override_dh_gencontrol:
+	dh_gencontrol -- -V'dovecot:ABI-Version=$(DOVECOT_ABI_VERSION)'
+
 %:
 	dh $@

Reply to: