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

[SCM] Debian package checker branch, master, updated. 2.5.1-145-gbcc6aca



The following commit has been merged in the master branch:
commit bcc6aca501da5414ac4fd057fa62c6450358c899
Author: Jakub Wilk <jwilk@debian.org>
Date:   Mon Jul 25 22:09:21 2011 +0200

    static libs should trigger binary-in-etc and etc.
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/checks/binaries b/checks/binaries
index 7a3db14..6fd9cea 100644
--- a/checks/binaries
+++ b/checks/binaries
@@ -252,9 +252,6 @@ foreach my $file (@{$info->sorted_file_info}) {
 	tag 'arch-independent-package-contains-binary-or-object', $file;
     }
 
-    # ELF?
-    next unless $fileinfo =~ m/^[^,]*\bELF\b/o;
-
     if ($file =~ m,^etc/,) {
 	tag 'binary-in-etc', $file;
     }
@@ -263,6 +260,9 @@ foreach my $file (@{$info->sorted_file_info}) {
 	tag 'arch-dependent-file-in-usr-share', $file;
     }
 
+    # ELF?
+    next unless $fileinfo =~ m/^[^,]*\bELF\b/o;
+
     if ($arch ne 'all' and $fileinfo !~ m/$ARCH_REGEX{$arch}/) {
 	if ($file =~ m,(?:^|/)lib(\d{2})/, or $file =~ m,^emul/ia(\d{2}),) {
 	    tag 'binary-from-other-architecture', $file
diff --git a/debian/changelog b/debian/changelog
index 221f7c8..3f888b8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -28,6 +28,9 @@ lintian (2.5.2) UNRELEASED; urgency=low
       stripped.  Thanks to Matthias Klose for the report.
       (Closes: #624521)
     + [NT] Do not assume that the architecture field is present.
+    + [NT] Emit "arch-dependent-file-in-usr-share" and
+      "binary-in-etc" also for static compiled files.  Thanks to
+      Jakub Wilk for the report and the patch.  (Closes: #635354)
   * checks/changelog-file:
     + [NT] Removed exception for symlinked changelogs if the
       package had an Ubuntu version.  This exception is now

-- 
Debian package checker


Reply to: