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

Modified Files:
        ChangeLog Validation.pm 
Log Message:
Document the problem with %type_raw[] in package name.


Index: Validation.pm
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/Validation.pm,v
retrieving revision 1.245
retrieving revision 1.246
diff -u -d -r1.245 -r1.246
--- Validation.pm       9 Dec 2006 05:12:53 -0000       1.245
+++ Validation.pm       14 Dec 2006 03:34:05 -0000      1.246
@@ -497,10 +497,13 @@
        #
 
        # .info filename contains parent package-name (without variants)
-       # and may contain version-revision and/or arch components
+       # and may contain arch and/or distro and/or version-revision components
+
+       # FIXME: this doesn't do the right thing if the package name contains
+       # %type_raw[]
+
        {
        my $base_filename = $pkgname;
-
        # variants with Package: foo-%type[bar] leave excess hyphens
        $base_filename =~ s/-+/-/g;
        $base_filename =~ s/-*$//g;

Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/ChangeLog,v
retrieving revision 1.1418
retrieving revision 1.1419
diff -u -d -r1.1418 -r1.1419
--- ChangeLog   10 Dec 2006 21:46:46 -0000      1.1418
+++ ChangeLog   14 Dec 2006 03:34:05 -0000      1.1419
@@ -1,3 +1,8 @@
+2006-12-13  Dave Morrison  <[EMAIL PROTECTED]>
+
+       * Validation.pm: Document the problem with %type_raw[] in package
+       name.
+
 2006-12-10  Christian Schaffner  <[EMAIL PROTECTED]>
 
        * Engine.pm: Don't try to validate virtual packages.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to