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

[SCM] Debian package checker branch, master, updated. 2.5.0-rc3-36-ge8e3278



The following commit has been merged in the master branch:
commit abd9969cba0724d4bb36dfea6f5d286bcc9e530f
Author: Niels Thykier <niels@thykier.net>
Date:   Tue May 10 20:11:10 2011 +0200

    Fix false positive embedded library for src fields with version

diff --git a/checks/binaries b/checks/binaries
index 8c46be2..82a3e08 100644
--- a/checks/binaries
+++ b/checks/binaries
@@ -120,6 +120,7 @@ sub run {
 my $pkg = shift;
 my $type = shift;
 my $info = shift;
+my $proc = shift;
 
 my $arch;
 my $dynsyms = 0;
@@ -312,10 +313,10 @@ foreach my $file (@{$info->sorted_file_info}) {
 
     while (my ($src, $regex) = each %EMBEDDED_LIBRARIES) {
 	if (ref $regex eq 'HASH') {
-	    next if ($info->field('source') =~ m/^$regex->{'source'}$/);
+	    next if ($proc->pkg_src =~ m/^$regex->{'source'}$/);
 
 	    $regex = $regex->{'match'};
-	} elsif ($info->field('source') eq $src) {
+	} elsif ($proc->pkg_src eq $src) {
 	    next;
 	}
 	if ($strings =~ /$regex/) {
diff --git a/debian/changelog b/debian/changelog
index afe6cc6..a967f69 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,10 @@ lintian (2.5.0~rc4) UNRELEASED; urgency=low
       - extended-description-contains-empty-paragraph
       - git-patches-not-exported
 
+  * checks/binaries:
+    + [NT] Fixed false-positive embedded-library.  Lintian incorrectly
+      assumed that none of these binary packages would contain a source
+      version in their source field.  (Closes: #626038)
   * checks/copyright-file.desc:
     + [ADB] Correct a spelling mistake ("coypright" -> "copyright") in the
       description of copyright-refers-to-deprecated-bsd-license-file;

-- 
Debian package checker


Reply to: