From eea09ee15348992685e4c5b329303b6bae3b0cac Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Mon, 10 Jun 2019 04:22:51 +0300 Subject: [PATCH] debian: Add appropriate substitution variables to debian/control Without this change, dh_gencontrol emits: dpkg-gencontrol: warning: package python-notmuch: substitution variable ${python:Provides} unused, but is defined dpkg-gencontrol: warning: package python-notmuch: substitution variable ${python:Versions} unused, but is defined dpkg-gencontrol: warning: package notmuch-mutt: substitution variable ${perl:Depends} unused, but is defined Signed-off-by: Daniel Kahn Gillmor --- debian/control | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 56849500..ff646c6b 100644 --- a/debian/control +++ b/debian/control @@ -77,6 +77,8 @@ Package: python-notmuch Architecture: all Section: python Depends: ${misc:Depends}, ${python:Depends}, libnotmuch5 (>= ${source:Version}) +Provides: ${python:Provides} +XB-Python-Version: ${python:Versions} Description: Python interface to the notmuch mail search and index library Notmuch is a system for indexing, searching, reading, and tagging large collections of email messages in maildir or mh format. It uses @@ -152,7 +154,8 @@ Depends: notmuch (>= 0.4), libmail-box-perl, libmailtools-perl, libstring-shellquote-perl, libterm-readline-gnu-perl, - ${misc:Depends} + ${misc:Depends}, + ${perl:Depends}, Recommends: mutt Enhances: notmuch, mutt Description: thread-based email index, search and tagging (Mutt interface)