lintian: r1352 - in trunk: checks debian testset testset/dh7-minimal testset/dh7-minimal/debian
Author: rra
Date: 2008-06-07 02:37:13 +0200 (Sat, 07 Jun 2008)
New Revision: 1352
Added:
trunk/testset/dh7-minimal/
trunk/testset/dh7-minimal/debian/
trunk/testset/dh7-minimal/debian/changelog
trunk/testset/dh7-minimal/debian/compat
trunk/testset/dh7-minimal/debian/control
trunk/testset/dh7-minimal/debian/copyright
trunk/testset/dh7-minimal/debian/rules
trunk/testset/tags.dh7-minimal
Modified:
trunk/checks/rules
trunk/debian/changelog
Log:
+ [RA] Support pattern rules. (Closes: #483475)
Modified: trunk/checks/rules
===================================================================
--- trunk/checks/rules 2008-06-07 00:19:29 UTC (rev 1351)
+++ trunk/checks/rules 2008-06-07 00:37:13 UTC (rev 1352)
@@ -124,10 +124,18 @@
}
}
- if (/^([^\s:][^:]+):/) {
+ if (/^([^\s:][^:]*):/) {
@current_targets = split (' ', $1);
for (@current_targets) {
- $seen{$_}++ if $required{$_};
+ if (m/%/) {
+ my $pattern = quotemeta $_;
+ $pattern =~ s/\\%/.*/g;
+ for my $target (keys %required) {
+ $seen{$target}++ if $target =~ m/$pattern/;
+ }
+ } else {
+ $seen{$_}++ if $required{$_};
+ }
}
$debhelper_group = 0;
} else {
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2008-06-07 00:19:29 UTC (rev 1351)
+++ trunk/debian/changelog 2008-06-07 00:37:13 UTC (rev 1352)
@@ -54,6 +54,7 @@
* checks/rules{.desc,}:
+ [RA] Add some basic checks for whether debhelper programs are called
in a reasonable order. (Closes: #471869)
+ + [RA] Support pattern rules. (Closes: #483475)
* checks/scripts:
+ [RA] Catch deprecated chown syntax even when options are given to
chown. Patch by Raphael Geissert. (Closes: #483775)
Added: trunk/testset/dh7-minimal/debian/changelog
===================================================================
--- trunk/testset/dh7-minimal/debian/changelog (rev 0)
+++ trunk/testset/dh7-minimal/debian/changelog 2008-06-07 00:37:13 UTC (rev 1352)
@@ -0,0 +1,6 @@
+dh7-minimal (1) unstable; urgency=low
+
+ * Initial release
+
+ -- Russ Allbery <rra@debian.org> Fri, 06 Jun 2008 17:20:53 -0700
+
Added: trunk/testset/dh7-minimal/debian/compat
===================================================================
--- trunk/testset/dh7-minimal/debian/compat (rev 0)
+++ trunk/testset/dh7-minimal/debian/compat 2008-06-07 00:37:13 UTC (rev 1352)
@@ -0,0 +1 @@
+7
Added: trunk/testset/dh7-minimal/debian/control
===================================================================
--- trunk/testset/dh7-minimal/debian/control (rev 0)
+++ trunk/testset/dh7-minimal/debian/control 2008-06-07 00:37:13 UTC (rev 1352)
@@ -0,0 +1,12 @@
+Source: dh7-minimal
+Section: devel
+Priority: optional
+Maintainer: Russ Allbery <rra@debian.org>
+Build-Depends: debhelper (>= 7)
+Standards-Version: 3.9.0
+
+Package: dh7-test
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Checks related to debhelper rule minimization
+ New in debhelper 7.
Added: trunk/testset/dh7-minimal/debian/copyright
===================================================================
--- trunk/testset/dh7-minimal/debian/copyright (rev 0)
+++ trunk/testset/dh7-minimal/debian/copyright 2008-06-07 00:37:13 UTC (rev 1352)
@@ -0,0 +1 @@
+Copyright 2008 Russ Allbery
Added: trunk/testset/dh7-minimal/debian/rules
===================================================================
--- trunk/testset/dh7-minimal/debian/rules (rev 0)
+++ trunk/testset/dh7-minimal/debian/rules 2008-06-07 00:37:13 UTC (rev 1352)
@@ -0,0 +1,3 @@
+#!/usr/bin/make -f
+%:
+ dh $@
Property changes on: trunk/testset/dh7-minimal/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/testset/tags.dh7-minimal
===================================================================
--- trunk/testset/tags.dh7-minimal (rev 0)
+++ trunk/testset/tags.dh7-minimal 2008-06-07 00:37:13 UTC (rev 1352)
@@ -0,0 +1 @@
+W: dh7-minimal source: newer-standards-version 3.9.0 (current is 3.8.0)
Reply to: