Update of /cvsroot/fink/fink/perlmod/Fink In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv11733
Modified Files: ChangeLog Validation.pm Log Message: warn if any item in a License field other than the last one is not conditionalized Index: Validation.pm =================================================================== RCS file: /cvsroot/fink/fink/perlmod/Fink/Validation.pm,v retrieving revision 1.302 retrieving revision 1.303 diff -u -d -r1.302 -r1.303 --- Validation.pm 4 Apr 2009 16:01:08 -0000 1.302 +++ Validation.pm 5 Apr 2009 13:46:05 -0000 1.303 @@ -562,6 +562,10 @@ print "Warning: Last license in list must not be conditional. ($filename)\n"; $looks_good = 0; } + if ($value =~ /($|,)[^,()]*,/) { + print "Warning: Malformed license field. All but the final item should be conditional. ($filename)\n"; + $looks_good = 0; + } $value =~ s/\(.*?\)//g; # remove all conditionals $value =~ s/^\s*//; # ...which sometimes leaves leading whitespace foreach (split /\s*,\s*/, $value) { Index: ChangeLog =================================================================== RCS file: /cvsroot/fink/fink/perlmod/Fink/ChangeLog,v retrieving revision 1.1589 retrieving revision 1.1590 diff -u -d -r1.1589 -r1.1590 --- ChangeLog 5 Apr 2009 13:40:40 -0000 1.1589 +++ ChangeLog 5 Apr 2009 13:46:05 -0000 1.1590 @@ -1,6 +1,8 @@ 2009-04-05 Dave Morrison <d...@finkproject.org> * PkgVersion.pm: use architecture-dependent path-prefix on <redacted> + * Validation.pm: warn if any item in a License field other than + the last one is not conditionalized 2009-04-04 Dave Morrison <d...@finkproject.org> ------------------------------------------------------------------------------ _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs