[SCM] Debian package checker branch, master, updated. 2.2.3-4-g95b1e8a
The following commit has been merged in the master branch:
commit 01ec1def26bee1cfe6f09a9fa592502c0c96661d
Author: Russ Allbery <rra@debian.org>
Date: Sun Feb 8 22:07:03 2009 -0800
Use Lintian::Relation::Version in checks/changelog-file
diff --git a/checks/changelog-file b/checks/changelog-file
index 4fa112e..b31dd43 100644
--- a/checks/changelog-file
+++ b/checks/changelog-file
@@ -21,8 +21,8 @@
package Lintian::changelog_file;
use strict;
+use Lintian::Relation::Version qw(versions_gt);
use Spelling;
-use Dep;
use Tags;
use Util;
@@ -288,7 +288,7 @@ if (@entries) {
my $second_version = $entries[1]->Version;
if ($first_version and $second_version) {
tag "latest-debian-changelog-entry-without-new-version"
- unless Dep::versions_gt ($first_version, $second_version)
+ unless versions_gt($first_version, $second_version)
or $entries[0]->Changes =~ /backport/i;
tag "latest-debian-changelog-entry-changed-to-native"
if $native_pkg and $second_version =~ m/-/;
diff --git a/debian/changelog b/debian/changelog
index 9ce6e83..23c65f9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+lintian (2.2.4) UNRELEASED; urgency=low
+
+ * checks/changelog-file:
+ + [RA] Use Lintian::Relation::Version instead of Dep.
+
+ -- Russ Allbery <rra@debian.org> Sun, 08 Feb 2009 22:06:34 -0800
+
lintian (2.2.3) unstable; urgency=low
* Summary of tag changes:
--
Debian package checker
Reply to: