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

[SCM] Debian package checker branch, master, updated. 2.2.10-43-g6e77af2



The following commit has been merged in the master branch:
commit e11efc2a78d1e7b4e5f09161d8c8d9609dc9fdc7
Author: Adam D. Barratt <adam@adam-barratt.org.uk>
Date:   Fri May 15 15:49:18 2009 +0100

    Handle section names containing hyphens when updating debhelper data
    
    * private/refresh-debhelper-data:
      + [ADB] Update the contents file parsing to handle the fact that
        there are now section names containing hyphens.

diff --git a/debian/changelog b/debian/changelog
index 2aa3c50..deef921 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -60,6 +60,9 @@ lintian (2.2.11) UNRELEASED; urgency=low
       documentation of --section to indiciate that it is deprecated in
       favour of the new option.
 
+  * private/refresh-debhelper-data:
+    + [ADB] Update the contents file parsing to handle the fact that
+      there are now section names containing hyphens.
   * private/refresh-perl-provides:
     + [ADB] Special-case libio-compress-zlib-perl to account for the fact
       that it does not contain IO::Compress::Zlib.  Patch by Niko Tyni.
diff --git a/private/refresh-debhelper-data b/private/refresh-debhelper-data
index 1ab76dd..6298df4 100755
--- a/private/refresh-debhelper-data
+++ b/private/refresh-debhelper-data
@@ -46,7 +46,7 @@ fi
 readonly lintian_data="$(readlink -f "$1")"
 readonly contents="$(readlink -f "$2")"
 readonly dh_regex='^usr/bin/dh_.'
-readonly dh_perl_regex='^usr/bin/(dh_[^\s]+)\s+\w+/([^,]+).*'
+readonly dh_perl_regex='^usr/bin/(dh_[^\s]+)\s+[\w-]+/([^,]+).*'
 offline=0
 
 [ -d "$lintian_data" ] || {

-- 
Debian package checker


Reply to: