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

[SCM] Debian package checker branch, master, updated. 2.5.10-193-g2ac1f0d



The following commit has been merged in the master branch:
commit 01bba56f9407dc4dfca95a5f9b8a643c76d7bea2
Author: Niels Thykier <niels@thykier.net>
Date:   Thu Oct 11 14:31:58 2012 +0200

    L::Processable: Include architecture in the Changes identifier
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/lib/Lintian/Processable.pm b/lib/Lintian/Processable.pm
index ee2f0cf..5d2ebce 100644
--- a/lib/Lintian/Processable.pm
+++ b/lib/Lintian/Processable.pm
@@ -172,7 +172,8 @@ sub _make_identifier {
     my $pkg_version = $self->pkg_version;
     my $pkg_arch = $self->pkg_arch;
     my $id = "$pkg_type:$pkg_name/$pkg_version";
-    if ($pkg_type ne 'source' and $pkg_type ne 'changes') {
+    if ($pkg_type ne 'source') {
+        $pkg_arch =~ s/\s++/_/g; # avoid spaces in ids
         $id .= "/$pkg_arch";
     }
     $self->{identifier} = $id;

-- 
Debian package checker


Reply to: