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

[SCM] Debian package checker branch, master, updated. 2.2.18-3-g7e8b835



The following commit has been merged in the master branch:
commit 7e8b8354f622df6c2207d307117d310222ab080e
Author: Adam D. Barratt <adam@adam-barratt.org.uk>
Date:   Wed Dec 9 14:07:22 2009 +0000

    Properly exempt zlib from the embedded-zlib checks.
    
    Exempt all binary packages built from the zlib source from the
    embedded-zlib test, not just those with binary package names matching
    zlib.+.  Thanks, Mark Brown.

diff --git a/checks/binaries b/checks/binaries
index e26bafa..b9aa525 100644
--- a/checks/binaries
+++ b/checks/binaries
@@ -270,7 +270,7 @@ foreach my $file (sort keys %{$info->file_info}) {
 	}
     }
 
-    if ($pkg !~ m/^zlib.+/
+    if ($info->field('source') ne 'zlib'
 	and $strings =~ /(?:in|de)flate (?:\d[ \w.\-]{1,20}[\w.\-])/m) {
 	tag "embedded-zlib", $file;
     }
diff --git a/debian/changelog b/debian/changelog
index d4071e8..0e8b555 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,9 @@ lintian (2.2.19) UNRELEASED; urgency=low
   * checks/binaries:
     + [RA] Allow any RPATH containing $ORIGIN or ${ORIGIN}, not just the
       literal value $ORIGIN.  (Closes: #557511)
+    + [ADB] Exempt all binary packages built from the zlib source from
+      the embedded-zlib test, not just those with binary package names
+      matching zlib.+.  Thanks, Mark Brown.
   * checks/fields.desc:
     + [ADB] Re-order the fields of build-depends-on-build-essential so that
       all of the descriptive text is included.  Thanks, Jonathan Wiltshire.

-- 
Debian package checker


Reply to: