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

[SCM] Debian package checker branch, master, updated. 2.5.4-35-g53bddb2



The following commit has been merged in the master branch:
commit 53bddb2ad75fcca7a0f68ec52ebe26c07ca000b9
Author: Niels Thykier <niels@thykier.net>
Date:   Tue Dec 6 21:22:29 2011 +0100

    Added section mapping for some zope packages
    
    ... plus a minor whitespace fix.
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/checks/fields b/checks/fields
index aa04bec..0793233 100644
--- a/checks/fields
+++ b/checks/fields
@@ -111,6 +111,7 @@ our @known_java_pkg = map { qr/$_/ }
 my @NAME_SECTION_MAPPINGS = (
     [ qr/-docs?$/                      => 'doc'      ],
     [ qr/-dbg$/                        => 'debug'    ],
+    [ qr/^(?:python-)?zope/            => 'zope'     ],
     [ qr/^python-/                     => 'python'   ],
     [ qr/^r-cran-/                     => 'gnu-r'    ],
     [ qr/^lib.*-perl$/                 => 'perl'     ],
@@ -445,7 +446,7 @@ if (not defined $info->field('section')) {
                 my $area = '';
                 $area = "$parts[0]/" if (scalar @parts == 2);
                 tag 'wrong-section-according-to-package-name', "$pkg => ${area}$map->[1]"
-                unless $parts[-1] eq $map->[1];
+                    unless $parts[-1] eq $map->[1];
                 last;
             }
         }
diff --git a/debian/changelog b/debian/changelog
index 817f468..6708e11 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,9 @@ lintian (2.5.5) UNRELEASED; urgency=low
     + [JW] Properly handle uploader names with commas.
       (Closes: #485705)
     + [NT] Removed uploader-address-missing tag.
+    + [NT] Added section-mapping for (some) zope packages.  This
+      fixes some false-positives where python-zope packages were
+      wrongly identified as belong to the python section.
   * checks/files:
     + [JW,NT] Skip "Multi-Arch: same" check of gzip files if their
       install path contains the architecture.  (Closes: #650665)

-- 
Debian package checker


Reply to: