lintian: r1353 - in trunk: checks debian
Author: rra
Date: 2008-06-07 02:48:49 +0200 (Sat, 07 Jun 2008)
New Revision: 1353
Modified:
trunk/checks/cruft
trunk/debian/changelog
Log:
* checks/cruft:
+ [RA] Format: 3.0 (quilt) packages are not native even though they
have no *.diff.gz. Thanks, Raphael Hertzog. (Closes: #483384)
Modified: trunk/checks/cruft
===================================================================
--- trunk/checks/cruft 2008-06-07 00:37:13 UTC (rev 1352)
+++ trunk/checks/cruft 2008-06-07 00:48:49 UTC (rev 1353)
@@ -92,14 +92,23 @@
# This doens't really belong here, but there isn't a better place at the
# moment to put this check.
-open (VERSION, '<', "fields/version")
- or fail("cannot open fields/version: $!");
-chomp(my $version = <VERSION>);
-close VERSION;
-$version =~ s/^\d+://; #Remove epoch
-$native = (! -f "${pkg}_${version}.diff.gz");
-if ($native and $version =~ /-/ and $version !~ /-0\.[^-]+$/) {
- tag 'native-package-with-dash-version';
+open (FORMAT, '<', "fields/format")
+ or fail("cannot open fields/format: $!");
+my $format = <FORMAT>;
+chomp $format;
+close FORMAT;
+if ($format =~ /^\s*3\.0\s+\(quilt\)\s*$/) {
+ $native = 0;
+} else {
+ open (VERSION, '<', "fields/version")
+ or fail("cannot open fields/version: $!");
+ chomp(my $version = <VERSION>);
+ close VERSION;
+ $version =~ s/^\d+://; #Remove epoch
+ $native = (! -f "${pkg}_${version}.diff.gz");
+ if ($native and $version =~ /-/ and $version !~ /-0\.[^-]+$/) {
+ tag 'native-package-with-dash-version';
+ }
}
# Check if this is a documentation package that's not arch: all. This doesn't
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2008-06-07 00:37:13 UTC (rev 1352)
+++ trunk/debian/changelog 2008-06-07 00:48:49 UTC (rev 1353)
@@ -15,6 +15,9 @@
* checks/copyright-file{.desc,}:
+ [RA] Check for copyright files containing the Apache 2.0 license,
which is now in common-licenses.
+ * checks/cruft:
+ + [RA] Format: 3.0 (quilt) packages are not native even though they
+ have no *.diff.gz. Thanks, Raphael Hertzog. (Closes: #483384)
* checks/fields:
+ [RA] Syntax-check Breaks like other relationship fields. Warn if
any packages use Breaks for right now. Only check for duplicate
Reply to: