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

[SCM] Debian package checker branch, master, updated. 2.5.4-133-gc57928e



The following commit has been merged in the master branch:
commit c57928e689292da326b9cc3e371e0c94e3441740
Author: Niels Thykier <niels@thykier.net>
Date:   Thu Feb 2 22:41:44 2012 +0100

    Lintian::Lab: Use section instead of const value for area value
    
    Fixed an issue where the constant "main" was used in the metadata of
    binary packages.
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/debian/changelog b/debian/changelog
index 8472dde..dfa0a43 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -206,6 +206,9 @@ lintian (2.5.5) UNRELEASED; urgency=low
   * lib/Lintian/Lab.pm:
     + [NT] Added "is_temp" method to identify temp labs from static
       labs.
+    + [NT] Corrected issue where the lab would record binaries as
+      being from "main", even if their "section" field implied
+      otherwise.
   * lib/Lintian/Lab/Entry.pm:
     + [NT] Properly strip whitespace when loading collection status.
   * lib/Lintian/Processable/Package.pm:
diff --git a/lib/Lintian/Lab.pm b/lib/Lintian/Lab.pm
index b6a7fce..4101714 100644
--- a/lib/Lintian/Lab.pm
+++ b/lib/Lintian/Lab.pm
@@ -878,7 +878,7 @@ sub _entry_created {
             $area = $1;
         }
         $data{'architecture'}   = $entry->pkg_arch;
-        $data{'area'}           = 'main';
+        $data{'area'}           = $area;
         $data{'package'}        = $pkg_name;
         $data{'source'}         = $entry->pkg_src;
         $data{'source-version'} = $entry->pkg_src_version;

-- 
Debian package checker


Reply to: