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

[SCM] Debian package checker branch, lab-refactor, updated. 2.5.3-143-gd35bab5



The following commit has been merged in the lab-refactor branch:
commit d35bab5576d250dd7e1f9c8e2df527fa5f4626e2
Author: Niels Thykier <niels@thykier.net>
Date:   Wed Oct 26 11:37:55 2011 +0200

    Include package arch in entry status files
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/lib/Lintian/Lab/Entry.pm b/lib/Lintian/Lab/Entry.pm
index a9d9216..31f023b 100644
--- a/lib/Lintian/Lab/Entry.pm
+++ b/lib/Lintian/Lab/Entry.pm
@@ -354,6 +354,7 @@ sub update_status_file {
     # greatly simplify a migration or detecting a broken lab later.
     print $sfd 'Package: ' . $self->pkg_name, "\n";
     print $sfd 'Version: ' . $self->pkg_version, "\n";
+    print $sfd 'Architecture: ' . $self->pkg_arch, "\n" if $self->pkg_type ne 'source';
     print $sfd 'Package-Type: ' . $self->pkg_type, "\n";
 
     @sc = sort keys %{ $self->{coll} };

-- 
Debian package checker


Reply to: