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

[lintian] 01/01: Avoid false positive for sensible-utils itself



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

rouca pushed a commit to branch master
in repository lintian.

commit 35b69820edd338e526c1d04b3bdf91c7812b24cb
Author: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Date:   Mon Mar 12 13:46:18 2018 +0100

    Avoid false positive for sensible-utils itself
---
 checks/scripts.pm | 3 ++-
 debian/changelog  | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/checks/scripts.pm b/checks/scripts.pm
index 8fcc1d0..1b5d96d 100644
--- a/checks/scripts.pm
+++ b/checks/scripts.pm
@@ -249,7 +249,8 @@ sub run {
     my $str_deps = $info->relation('strong');
     my $has_sensible_utils
       =Lintian::Relation->and($str_deps, $info->relation('recommends'))
-      ->implies('sensible-utils');
+      ->implies('sensible-utils')
+      || ($pkg eq 'sensible-utils');
 
     for my $filename (sort keys %{$info->scripts}) {
         my $interpreter = $info->scripts->{$filename}{interpreter};
diff --git a/debian/changelog b/debian/changelog
index 550a932..5abe532 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,8 @@ lintian (2.5.80) UNRELEASED; urgency=medium
       package has explicit Build-Depends on dpkg-dev (>= 1.18.8) or
       debhelper (>= 10.10).  Thanks to Andreas Metzler for the report.
       (Closes: #892549)
+  * checks/script.pm:
+    + [BR] Fix FP with sensible-utils need to depends on sensible-utils.
   * checks/fields.{desc,pm}:
     + [CL] Clarify the meaning of the
       depends-on-build-essential-package-without-using-version tag by

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


Reply to: