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

[lintian] 02/02: checks/init.d: Don't require versioned lsb-base deps



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

jwilk pushed a commit to branch master
in repository lintian.

commit 7f36c382c1cc638399cac0e80123f942a648ccbe
Author: Jakub Wilk <jwilk@debian.org>
Date:   Fri Oct 14 23:21:28 2016 +0200

    checks/init.d: Don't require versioned lsb-base deps
---
 checks/init.d.pm | 2 +-
 debian/changelog | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/checks/init.d.pm b/checks/init.d.pm
index 7b0fa7d..1f6984d 100644
--- a/checks/init.d.pm
+++ b/checks/init.d.pm
@@ -323,7 +323,7 @@ sub check_init {
         }
 
         if ($l =~ m{^\s*\.\s+/lib/lsb/init-functions}
-            && !$info->relation('strong')->implies('lsb-base (>= 3.0-6)')) {
+            && !$info->relation('strong')->implies('lsb-base')) {
             tag 'init.d-script-needs-depends-on-lsb-base',
               $initd_path, "(line $.)";
         }
diff --git a/debian/changelog b/debian/changelog
index 355c7c9..5b3ddbe 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,9 @@ lintian (2.5.49) UNRELEASED; urgency=medium
   * checks/fields.{pm,desc}:
     + [NT] Apply patch from Dylan Aïssi to tag non-canonical uses of
       the bioconductor homepage in the Homepage field.  (Closes: #839874)
+  * checks/init.d.pm:
+    + [JW] Don't require version constraint for lsb-base dependencies.
+      The needed version has been available for many stable releases.
 
   * data/cruft/non-distributable-files:
     + [BR] Add some rapidjson files.

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


Reply to: