Subject: | Fix pattern for RELEVANT_TEST_RESULT in Internal/Constants/Report.pm |
Patch fixes regexes where patterns in RELEVANT_TEST_RESULT should match
the top level namespace in the distribution name.
Subject: | cpanplus-constants.patch |
--- CPANPLUS-0.9003/lib/CPANPLUS/Internals/Constants/Report.pm Thu Nov 12 21:35:25 2009
+++ CPANPLUS-0.9003_01/lib/CPANPLUS/Internals/Constants/Report.pm Wed Apr 21 00:30:26 2010
@@ -80,10 +80,10 @@
my $name = $mod->module;
my $specific;
for my $platform (keys %OS) {
- if( $name =~ /\b$platform\b/i ) {
+ if( $name =~ /^$platform\b/i ) {
# beware the Mac != MAC
next if($platform eq 'Mac' &&
- $name !~ /\b$platform\b/);
+ $name !~ /^$platform\b/);
$specific++;
return 1 if