[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.2.11-9-gaee5f33



The following commit has been merged in the master branch:
commit aee5f330fd8d80e2aae488e0cad4917851b5a5f4
Author: Russ Allbery <rra@debian.org>
Date:   Wed Jun 17 21:04:00 2009 -0700

    Allow newline after the field name in debian/control
    
    * checks/control-file{,.desc}:
      + [RA] Allow a newline immediately after the field name, since this
        does work with fields that can be wrapped (such as Build-Depends).
        Thanks, Stephane Glondu.  (Closes: #528377)

diff --git a/checks/control-file b/checks/control-file
index 7286f02..cc23e42 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+: \S/ || /^\S+:$/) {
 			tag 'debian-control-has-unusual-field-spacing', "line $.";
 		}
 	}
diff --git a/debian/changelog b/debian/changelog
index ef563b1..a0c2574 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,9 @@ lintian (2.2.12) UNRELEASED; urgency=low
       rename the missing-comma-between-items tag to the more descriptive
       missing-separator-between-items.  Based on a patch by Rafael
       Laboissiere.  (Closes: #533202)
+    + [RA] Allow a newline immediately after the field name, since this
+      does work with fields that can be wrapped (such as Build-Depends).
+      Thanks, Stephane Glondu.  (Closes: #528377)
   * checks/fields{,.desc}:
     + [RA] Update source-field-malformed to serious and don't allow
       capital letters in source package names.  Check source package names

-- 
Debian package checker


Reply to: