]> git.notmuchmail.org Git - notmuch/commitdiff
debian: strictly depend on the same version of libnotmuch
authorUwe Kleine-König <ukleinek@strlen.de>
Sat, 9 Jul 2011 19:17:09 +0000 (21:17 +0200)
committerDavid Bremner <bremner@debian.org>
Sun, 10 Jul 2011 12:32:40 +0000 (09:32 -0300)
It took quite some time to debug why folder: searches didn't work for me
though I had notmuch 0.6~rc1 installed. amdragon in #notmuch found out
that I still had libnotmuch1 0.5+nmu3 installed.

To prevent the same problem in the future let notmuch depend on the same
version of libnotmuch1.

Reviewed-By: David Bremner <david@tethera.net>
  The underlying issue is that the libnotmuch interface is not
  entirely captured by the set of exported symbols. In particular the
  query syntax can change without being visible to the linker at all.

debian/control

index 78c9849b0b84511b2cd6ef4703a70aa29ee36301..03afdf444d55cbf4fb3f4e4a237f3da110247531 100644 (file)
@@ -15,7 +15,7 @@ Dm-Upload-Allowed: yes
 
 Package: notmuch
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: libnotmuch1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
 Recommends: notmuch-emacs | notmuch-vim
 Description: thread-based email index, search and tagging
  Notmuch is a system for indexing, searching, reading, and tagging