lintian: r1281 - in trunk: checks debian frontend
Author: cjwatson
Date: 2008-04-25 11:32:26 +0200 (Fri, 25 Apr 2008)
New Revision: 1281
Modified:
trunk/checks/lintian.desc
trunk/debian/changelog
trunk/frontend/lintian
Log:
+ [CW] Add intrepid as an allowable distribution for Ubuntu.
Modified: trunk/checks/lintian.desc
===================================================================
--- trunk/checks/lintian.desc 2008-04-23 18:56:57 UTC (rev 1280)
+++ trunk/checks/lintian.desc 2008-04-25 09:32:26 UTC (rev 1281)
@@ -24,7 +24,7 @@
the <tt>debian/changelog</tt> file.
.
Your version string suggests this package is for Ubuntu, so your
- distribution should be one of hardy, gutsy, feisty, edgy or dapper.
+ distribution should be one of intrepid, hardy, gutsy, feisty, edgy or dapper.
Tag: no-urgency-in-changes-file
Type: warning
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2008-04-23 18:56:57 UTC (rev 1280)
+++ trunk/debian/changelog 2008-04-25 09:32:26 UTC (rev 1281)
@@ -72,6 +72,7 @@
* frontend/lintian:
+ [RA] Qualify relative --root directories so that we don't break
later. Patch from Håkon Stordahl. (Closes: #469925)
+ + [CW] Add intrepid as an allowable distribution for Ubuntu.
* lib/Spelling.pm:
+ [RA] Avoid Perl warnings when called with an uninitialized value.
Modified: trunk/frontend/lintian
===================================================================
--- trunk/frontend/lintian 2008-04-23 18:56:57 UTC (rev 1280)
+++ trunk/frontend/lintian 2008-04-25 09:32:26 UTC (rev 1281)
@@ -650,8 +650,8 @@
# check distribution field
if (defined $data->{distribution}) {
- if ($data->{'version'} =~ /ubuntu|hardy|gutsy|feisty|edgy|dapper/) {
- my @ubuntu_dists = qw(hardy gutsy feisty edgy dapper);
+ if ($data->{'version'} =~ /ubuntu|intrepid|hardy|gutsy|feisty|edgy|dapper/) {
+ my @ubuntu_dists = qw(intrepid hardy gutsy feisty edgy dapper);
my $regex = '^(' . join ('|', @ubuntu_dists) . ')';
if ($data->{distribution} !~ /^$regex(-(proposed|updates|backports|security))?$/ ) {
tag("bad-ubuntu-distribution-in-changes-file",
Reply to: