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

[lintian] 01/02: c/control-file.pm: relax dependency checks to allow versions with tilde



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

abe pushed a commit to branch master
in repository lintian.

commit 78783f2338fa864f2ed9dd76fb212555e23000ee
Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
Date:   Thu Sep 3 23:43:39 2015 +0200

    c/control-file.pm: relax dependency checks to allow versions with tilde
---
 checks/control-file.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/checks/control-file.pm b/checks/control-file.pm
index 32d2f8e..37757ff 100644
--- a/checks/control-file.pm
+++ b/checks/control-file.pm
@@ -359,14 +359,14 @@ sub run {
         my $build_all = $info->relation('build-depends-all');
         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~)'));
         tag 'restriction-formula-with-versioned-dpkg-dev-conflict'
           if ($build_conflicts_all->implies_inverse('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~)'));
             #<<< no tidy, tag name too long
             tag 'restriction-formula-with-debhelper-with-conflicting-version'
             #>>>

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


Reply to: