Package: lintian Version: 2.2.12 Severity: normal Tags: patch here's an example rules file where this bug happens: %: TEST_AUTHOR=1 dh $@ lintian then tells me build-depends-without-arch-dep for debhelper. here's an attempt at a patch, the regexp isn't very good, it will probably need to be improved by the person who commits it. but it fixes my problem. diff --git a/checks/fields b/checks/fields index 20af81a..d71ea0f 100644 --- a/checks/fields +++ b/checks/fields @@ -194,7 +194,7 @@ my @RULE_CLEAN_ALLOWED = ( # should bypass the build-depends-without-arch-dep check completely. my @GLOBAL_CLEAN_BYPASS = ( qr'^include\s*/usr/share/cdbs/1/class/ant\.mk', - qr'^\s+dh\s+' + qr'^(\s+[a-zA-Z0-9_]+=.*)*\s+dh\s+' ); # Mapping of package names to section names -- _________________________ Ryan Niebur ryanryan52@gmail.com
Attachment:
signature.asc
Description: Digital signature