The following commit has been merged in the master branch:
commit 8d81cfeb46ed4340fa446a91d4a33d42b14a37cb
Author: Niels Thykier <[email protected]>
Date:   Sun Oct 2 10:59:39 2011 +0200

    Skip package-contains-no-arch-dependent-files for empty packages
    
    Signed-off-by: Niels Thykier <[email protected]>

diff --git a/checks/files b/checks/files
index 82c82fd..97c70a8 100644
--- a/checks/files
+++ b/checks/files
@@ -1334,7 +1334,7 @@ foreach my $file (@{$info->sorted_index}) {
     }
 }
 
-if (!$arch_dep_files && ($info->field('architecture')//'') ne 'all') {
+if (!$is_empty && !$arch_dep_files && ($info->field('architecture')//'') ne 
'all') {
     tag 'package-contains-no-arch-dependent-files' unless $type eq 'udeb';
 }
 
diff --git a/debian/changelog b/debian/changelog
index d15852f..5dca0c8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -23,6 +23,8 @@ lintian (2.5.4) UNRELEASED; urgency=low
       (Closes: #641983)
     + [JW] Improve "linked against libvga.so" test.  This avoid
       setuid-binary false-positives.  (Closes: #642038)
+    + [NT] Skip package-contains-no-arch-dependent-files for empty
+      packages.  (Closes: #642339)
   * checks/rules:
     + [JW] Fixed false negative "missing-build-dependency" when using
       "dh --with=X" rather than "dh --with X".  (Closes: #643714)

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to