From d9385113ef3dd66ec8f84bb7d160de772273b6b4 Mon Sep 17 00:00:00 2001
From: David Bremner <david@tethera.net>
Date: Tue, 25 Aug 2020 08:03:26 -0300
Subject: [PATCH] debian: drop notmuch-emacs dependency package

elpa-notmuch is now present in oldstable, and we don't need to support
direct upgrades from older releases than that.
---
 debian/changelog | 4 +++-
 debian/control   | 9 ---------
 2 files changed, 3 insertions(+), 10 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b2da56c5..b800e361 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,8 +5,10 @@ notmuch (0.31~rc2-1) experimental; urgency=medium
     #944269).
   * Bug fix: "suggest mailscripts", thanks to Sean Whitton (Closes:
     #944270).
+  * Bug fix: "please drop transitional package notmuch-emacs from
+    src:notmuch", thanks to Holger Levsen (Closes: #940738).
 
- -- David Bremner <bremner@debian.org>  Tue, 25 Aug 2020 07:37:30 -0300
+ -- David Bremner <bremner@debian.org>  Tue, 25 Aug 2020 07:51:33 -0300
 
 notmuch (0.31~rc1-1) experimental; urgency=medium
 
diff --git a/debian/control b/debian/control
index 7cbe9508..75359bc4 100644
--- a/debian/control
+++ b/debian/control
@@ -148,15 +148,6 @@ Description: Ruby interface to the notmuch mail search and index library
  This package provides a Ruby interface to the notmuch
  functionality, directly interfacing with a shared notmuch library.
 
-Package: notmuch-emacs
-Section: oldlibs
-Architecture: all
-Depends:
- elpa-notmuch,
- ${misc:Depends},
-Description: thread-based email index, search and tagging (transitional package)
- This dummy package help ease transition to the new package elpa-notmuch
-
 Package: elpa-notmuch
 Architecture: all
 Depends:
-- 
2.45.2