Author: adamg                        Date: Mon Sep 17 09:07:36 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- more specific regexp for package name

---- Files affected:
SPECS:
   perl-autoup (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SPECS/perl-autoup
diff -u SPECS/perl-autoup:1.9 SPECS/perl-autoup:1.10
--- SPECS/perl-autoup:1.9       Wed Mar  1 00:37:25 2006
+++ SPECS/perl-autoup   Mon Sep 17 11:07:30 2007
@@ -346,7 +346,7 @@
        if (/\s+SOURCEURL0\s+(.+?)\s*$/) {
            $h{url} = $1;
            $np++;
-       } elsif (/\s+name\s+(.+?)\s*$/) {
+       } elsif (/\s+name\s+(perl-.+?)\s*$/) {
            $h{nam} = $1;
            $np++;
        } elsif (/\s+PACKAGE_VERSION\s+(.+?)\s*$/) {
@@ -372,11 +372,11 @@
 
 
     if ($np != 4) {
-       #print "$np: ";
-       #for (keys %h) {
-       #    print "$_ = $h{$_}, ";
-       #}
-       #print "\n";
+       print "$np: ";
+       for (keys %h) {
+           print "$_ = $h{$_}, \n";
+       }
+       print "\n";
        warn "$spec: error reading parameteres\n`";
        return undef;
     }
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/perl-autoup?r1=1.9&r2=1.10&f=u

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to