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

[SCM] Debian package checker branch, master, updated. 2.5.10-126-gaf16523



The following commit has been merged in the master branch:
commit f64825a948fcf1e9a4cc85fda231e2d9b1b00e2d
Author: Niels Thykier <niels@thykier.net>
Date:   Mon Sep 3 13:55:27 2012 +0200

    L::PPool: Use "/" in processable and group ids
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/lib/Lintian/ProcessablePool.pm b/lib/Lintian/ProcessablePool.pm
index a0974be..1bc22ed 100644
--- a/lib/Lintian/ProcessablePool.pm
+++ b/lib/Lintian/ProcessablePool.pm
@@ -228,7 +228,7 @@ sub _add_changes_file{
 sub _get_group_id{
     my ($self, $pkg) = @_;
     my $id = $pkg->pkg_src;
-    $id .= '_' . $pkg->pkg_src_version;
+    $id .= '/' . $pkg->pkg_src_version;
     return $id;
 }
 
@@ -236,10 +236,7 @@ sub _get_group_id{
 # than _get_group_id even for src processables.
 sub _get_proc_id {
     my ($self, $pkg) = @_;
-    my $id = $pkg->pkg_name;
-    $id .= '_' . $pkg->pkg_version;
-    $id .= '_' . $pkg->pkg_arch;
-    return $id;
+    return $pkg->identifier;
 }
 
 =back

-- 
Debian package checker


Reply to: