Update of /cvsroot/fink/fink/perlmod/Fink
In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv28616

Modified Files:
        ChangeLog Validation.pm 
Log Message:
Fix detection of files less specifically versioned than the one listed in 
Shlibs field


Index: Validation.pm
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/Validation.pm,v
retrieving revision 1.285
retrieving revision 1.286
diff -u -d -r1.285 -r1.286
--- Validation.pm       8 May 2008 05:12:25 -0000       1.285
+++ Validation.pm       11 May 2008 05:54:14 -0000      1.286
@@ -1640,7 +1640,7 @@
                                push(@installed_dylibs, $filename);
                        }
                        my( $fn_name, $fn_ext ) = $filename =~ /^(.*)(\..*)/g;  
# parse apart at extension
-                       if ( grep /^\Q$fn_name\E.+\Q$fn_ext\E$/, sort keys 
%$deb_shlibs && !exists $deb_shlibs->{$filename}) {
+                       if ( (grep /^\Q$fn_name\E.+\Q$fn_ext\E$/, sort keys 
%$deb_shlibs) && !(exists $deb_shlibs->{$filename})) {
                                &stack_msg($msgs, "Files less specifically 
versioned than a Shlibs entry do not belong in this package", $filename);
                        }
                }

Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/ChangeLog,v
retrieving revision 1.1535
retrieving revision 1.1536
diff -u -d -r1.1535 -r1.1536
--- ChangeLog   8 May 2008 05:12:25 -0000       1.1535
+++ ChangeLog   11 May 2008 05:54:14 -0000      1.1536
@@ -1,3 +1,7 @@
+2008-05-11  Daniel Macks  <[EMAIL PROTECTED]>
+
+       * Validation.pm: Fix precedence error in check for wrong Files vs Shlibs
+
 2008-05-07  Dave Morrison  <[EMAIL PROTECTED]>
 
        * Validation.pm: Improve the Shlibs error message


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to