lintian: r1210 - in trunk: debian frontend
Author: cjwatson
Date: 2008-02-18 18:50:31 +0100 (Mon, 18 Feb 2008)
New Revision: 1210
Modified:
trunk/debian/changelog
trunk/frontend/lintian
Log:
* frontend/lintian:
+ [CW] Make the presence of an Ubuntu release name in the version number
trigger the Ubuntu distribution field checks.
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2008-02-14 18:11:43 UTC (rev 1209)
+++ trunk/debian/changelog 2008-02-18 17:50:31 UTC (rev 1210)
@@ -28,6 +28,10 @@
doesn't seem to have any actual code. Based on an idea
by Justin Pryzby. (Closes: #410042)
+ * frontend/lintian:
+ + [CW] Make the presence of an Ubuntu release name in the version number
+ trigger the Ubuntu distribution field checks.
+
-- Frank Lichtenheld <djpig@debian.org> Sat, 09 Feb 2008 16:24:49 +0100
lintian (1.23.45) unstable; urgency=low
Modified: trunk/frontend/lintian
===================================================================
--- trunk/frontend/lintian 2008-02-14 18:11:43 UTC (rev 1209)
+++ trunk/frontend/lintian 2008-02-18 17:50:31 UTC (rev 1210)
@@ -646,7 +646,7 @@
# check distribution field
if (defined $data->{distribution}) {
- if ($data->{'version'} =~ /ubuntu/) {
+ if ($data->{'version'} =~ /ubuntu|hardy|gutsy|feisty|edgy|dapper/) {
my @ubuntu_dists = qw(hardy gutsy feisty edgy dapper);
my $regex = '^(' . join ('|', @ubuntu_dists) . ')';
if ($data->{distribution} !~ /^$regex(-(proposed|updates|backports|security))?$/ ) {
Reply to: