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

lintian: r1053 - in trunk: checks debian



Author: rra
Date: 2007-12-06 02:21:52 +0100 (Thu, 06 Dec 2007)
New Revision: 1053

Modified:
   trunk/checks/changelog-file
   trunk/debian/changelog
Log:
* checks/changelog-file:
  + [RA] Don't warn about version numbers going backwards in the
    changelog file if the comment says this is a backport.

Modified: trunk/checks/changelog-file
===================================================================
--- trunk/checks/changelog-file	2007-12-05 23:55:49 UTC (rev 1052)
+++ trunk/checks/changelog-file	2007-12-06 01:21:52 UTC (rev 1053)
@@ -297,7 +297,8 @@
 	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 Dep::versions_gt ($first_version, $second_version)
+                    or $entries[0]->Changes =~ /backport/i;
 	}
     }
 }

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2007-12-05 23:55:49 UTC (rev 1052)
+++ trunk/debian/changelog	2007-12-06 01:21:52 UTC (rev 1053)
@@ -2,6 +2,9 @@
 
   * The "HE's brown paper bag bug" release
 
+  * checks/changelog-file:
+    + [RA] Don't warn about version numbers going backwards in the
+      changelog file if the comment says this is a backport.
   * checks/patch-systems:
     + [FL] Try appending .dpatch to patchnames found in 00list.
            Patch by Leo Antunes. (Closes: #454516, #454518)
@@ -9,7 +12,7 @@
   * lib/Dep.pm:
     + [FL] Fix "uninitialized value" warning in pred_implies().
 
- -- Frank Lichtenheld <djpig@debian.org>  Thu, 06 Dec 2007 00:40:17 +0100
+ -- Russ Allbery <rra@debian.org>  Wed, 05 Dec 2007 17:21:44 -0800
 
 lintian (1.23.37) unstable; urgency=low
 



Reply to: