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

[lintian] 01/01: checks/fields: Relax build profile dep checks to allow ~



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

jwilk pushed a commit to branch master
in repository lintian.

commit d1e02f433542352a86c9e83a108bb472d4892527
Author: Jakub Wilk <jwilk@debian.org>
Date:   Mon Apr 4 20:36:44 2016 +0200

    checks/fields: Relax build profile dep checks to allow ~
    
    The analogous change to checks/control-file was made in
    78783f2338fa864f2ed9dd76fb212555e23000ee.
---
 checks/fields.pm | 4 ++--
 debian/changelog | 3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/checks/fields.pm b/checks/fields.pm
index a28860d..d527bc3 100644
--- a/checks/fields.pm
+++ b/checks/fields.pm
@@ -1127,13 +1127,13 @@ sub run {
         if ($restrictions_used) {
             my $build_conflicts_all = $info->relation('build-conflicts-all');
             tag 'restriction-formula-without-versioned-dpkg-dev-dependency'
-              unless ($build_all->implies('dpkg-dev (>= 1.17.14)'));
+              unless ($build_all->implies('dpkg-dev (>= 1.17.14~)'));
             # if the package uses debhelper then it must require and not
             # conflict with version >= 9.20141010
             if ($build_all->implies('debhelper')) {
                 tag
 'restriction-formula-with-debhelper-without-debhelper-version'
-                  unless ($build_all->implies('debhelper (>= 9.20141010)'));
+                  unless ($build_all->implies('debhelper (>= 9.20141010~)'));
             }
         }
 
diff --git a/debian/changelog b/debian/changelog
index cb683b7..ea8f296 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,9 @@ lintian (2.5.44) UNRELEASED; urgency=medium
   * checks/fields.pm:
     + [NT] Add default-jdk-headless and openjdk-X-jdk-headless
       to the set of known java providers.
+    + [JW] Relax build profile dependency checks to allow versions with
+      trailing tilde.  (Closes: #819509)  Thanks to Felix Geyer for the bug
+      report.
 
  -- Niels Thykier <niels@thykier.net>  Sun, 03 Apr 2016 18:48:59 +0000
 

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


Reply to: