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

[SCM] Debian package checker branch, master, updated. 2.4.3-161-g2d27e5d



The following commit has been merged in the master branch:
commit 4bd6a6863b65ffdd9f2985cede054a5d79a2a22e
Author: Raphael Geissert <atomo64@gmail.com>
Date:   Tue Jan 25 18:14:25 2011 -0600

    Anchor regex used to match source package name of embedded lib
    
    TODO: should be easier to have test source packages with arbitrary
    names (without causing namespace noise, that is.)

diff --git a/checks/binaries b/checks/binaries
index db83196..4ecc7d3 100644
--- a/checks/binaries
+++ b/checks/binaries
@@ -326,7 +326,7 @@ 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 ($info->field('source') =~ m/^$regex->{'source'}$/);
 
 	    $regex = $regex->{'match'};
 	} elsif ($info->field('source') eq $src) {

-- 
Debian package checker


Reply to: