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

[lintian] 01/01: Prevent a false-positive in missing-dep-for-interpreter by matching ABI-versioned virtual packages for Erlang. Thanks to Jean Parpaillon for the report. (Closes: #810204)



This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository lintian.

commit f14f581bba2d117b08495ae3adec15da5958be79
Author: Chris Lamb <lamby@debian.org>
Date:   Sat Dec 16 11:35:22 2017 +0000

    Prevent a false-positive in missing-dep-for-interpreter by matching ABI-versioned virtual packages for Erlang. Thanks to Jean Parpaillon for the report. (Closes: #810204)
---
 checks/scripts.pm | 3 +++
 debian/changelog  | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/checks/scripts.pm b/checks/scripts.pm
index c9922c5..6615242 100644
--- a/checks/scripts.pm
+++ b/checks/scripts.pm
@@ -468,6 +468,9 @@ sub run {
                         qr/^ocaml(?:-base)?(?:-nox)?-\d\.[\d.]+/)
                   ) {
                     # ABI-versioned virtual packages for ocaml
+                } elsif ($base eq 'escript'
+                    && $all_parsed->matches(qr/^erlang-abi-[\d+\.]+$/)) {
+                    # ABI-versioned virtual packages for erlang
                 } else {
                     tag 'missing-dep-for-interpreter', "$base => $depends",
                       "($filename)";
diff --git a/debian/changelog b/debian/changelog
index f0fb47c..f306a58 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -30,6 +30,9 @@ lintian (2.5.63) UNRELEASED; urgency=medium
   * checks/scripts.desc:
     + [CL] Update description of python-script-but-no-python-dep to refer
       to ${python3:Depends}. Thanks to Mattia Rizzolo.  (Closes: #660718)
+    + [CL] Prevent a false-positive in missing-dep-for-interpreter by
+      matching ABI-versioned virtual packages for Erlang. Thanks to
+      Jean Parpaillon for the report.  (Closes: #810204)
   * checks/source-copyright.desc:
     + [CL] Update description of source-includes-file-in-files-excluded
       to clarify the potential problem and to reference the relevant

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: