rev 10907 - people/modax/copyright-helper/trunk/licenses

Modestas Vainius modax-guest at alioth.debian.org
Mon Jun 9 12:02:45 UTC 2008


Author: modax-guest
Date: 2008-06-09 12:02:44 +0000 (Mon, 09 Jun 2008)
New Revision: 10907

Modified:
   people/modax/copyright-helper/trunk/licenses/gnugpl.pm
Log:
More liberal version match for GPL

Modified: people/modax/copyright-helper/trunk/licenses/gnugpl.pm
===================================================================
--- people/modax/copyright-helper/trunk/licenses/gnugpl.pm	2008-06-09 11:56:46 UTC (rev 10906)
+++ people/modax/copyright-helper/trunk/licenses/gnugpl.pm	2008-06-09 12:02:44 UTC (rev 10907)
@@ -31,7 +31,7 @@
             my $license = new CHLicenses::gnugpl;
 
             # Check for version and later clause (optional)
-            if ($version =~ m/version ([\d.]*[\d]+) of the License(.*)/soi) {
+            if ($version =~ m/version (.+) of the License(.*)/soi) {
                 $license->{"version"} = $1;
                 $version = $2;
                 $license->{"later"} = 1 if ($version =~ m/any\slater\sversion/);




More information about the pkg-kde-commits mailing list