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

[SCM] Debian package checker branch, master, updated. 2.2.6-34-g1f67e5c



The following commit has been merged in the master branch:
commit 1f67e5cded525511a9d37a494817e081eb1d4c4d
Author: Adam D. Barratt <adam@adam-barratt.org.uk>
Date:   Tue Mar 3 23:22:47 2009 +0000

    Replace Dep::version with Lintian::Relation::Version in checks/shared-libs
    
    Use Lintian::Relation::Version when determining whether the installed
    version of man supports the --warnings option.

diff --git a/checks/manpages b/checks/manpages
index 44c756f..2556ab5 100644
--- a/checks/manpages
+++ b/checks/manpages
@@ -20,7 +20,7 @@
 
 package Lintian::manpages;
 use strict;
-use Dep;
+use Lintian::Relation::Version qw(versions_gte);
 use Tags;
 use Util;
 
@@ -238,7 +238,7 @@ foreach my $file (sort keys %{$info->index}) {
 	unless (defined $MAN_WARNINGS) {
 	    my $version = `man -V 2>&1`;
 	    if ($? == 0 && $version =~ / (\d+\.[\d.]+)(,|\Z)/) {
-		$MAN_WARNINGS = Dep::versions_gte($1, '2.5.1');
+		$MAN_WARNINGS = versions_gte($1, '2.5.1');
 	    } else {
 		$MAN_WARNINGS = 0;
 	    }
diff --git a/debian/changelog b/debian/changelog
index 3bf5cc3..b4cbbde 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -51,6 +51,8 @@ lintian (2.2.7) UNRELEASED; urgency=low
     + [RA] Set MANWIDTH to 80 in the environment when running man to force
       it to assume 80-column lines even when Lintian is run in a smaller
       window.  Thanks, Joey Hess.  (Closes: #517629)
+    + [ADB] Use Lintian::Relation::Version when determining whether the
+      installed version of man supports the --warnings option.
   * checks/menus:
     + [RA] Cache the reference to the section list.  Thanks, Raphael
       Geissert.  Also use all caps for global variables.

-- 
Debian package checker


Reply to: