Bug#528377: debian-control-has-unusual-field-spacing: allow \n just after :
Package: lintian
Version: 2.2.9
Severity: wishlist
Tags: patch
Hello,
Everything is said in the subject and the patch.
Cheers,
--
Stéphane
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages lintian depends on:
ii binutils 2.19.1-1 The GNU assembler, linker and bina
ii diffstat 1.46-1 produces graph of changes introduc
ii dpkg-dev 1.14.26 Debian package development tools
ii file 5.00-1 Determines file type using "magic"
ii gettext 0.17-6 GNU Internationalization utilities
ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii libipc-run-perl 0.82-1 Perl module for running processes
ii libparse-debianchangel 1.1.1-2 parse Debian changelogs and output
ii libtimedate-perl 1.1600-9 Time and date functions for Perl
ii liburi-perl 1.37+dfsg-1 Manipulates and accesses URI strin
ii man-db 2.5.5-1 on-line manual pager
ii perl [libdigest-sha-pe 5.10.0-19 Larry Wall's Practical Extraction
lintian recommends no packages.
Versions of packages lintian suggests:
pn binutils-multiarch <none> (no description available)
pn libtext-template-perl <none> (no description available)
ii man-db 2.5.5-1 on-line manual pager
-- no debconf information
commit d4402ed8c2b2adc5605bf94ea1af85cbbec35868
Author: Stephane Glondu <steph@glondu.net>
Date: Tue May 12 16:11:40 2009 +0200
Allow new lines right after : in control files
diff --git a/checks/control-file b/checks/control-file
index d0f9867..ff49d44 100644
--- a/checks/control-file
+++ b/checks/control-file
@@ -71,7 +71,7 @@ while (<CONTROL>) {
tag "xs-vcs-header-in-debian-control", "$field"
if $known_source_fields{$base};
}
- unless (/^\S+: \S/) {
+ unless (/^\S+:\n? \S/) {
tag 'debian-control-has-unusual-field-spacing', "line $.";
}
}
Reply to: