Author: goneri-guest
Date: 2007-06-19 16:00:20 +0000 (Tue, 19 Jun 2007)
New Revision: 2991

Modified:
   people/goneri/SvnBuildStat-WWW/lib/SvnBuildStat/WWW/Controller/Packages.pm
Log:
remove the EPOCH from the package release number


Modified: 
people/goneri/SvnBuildStat-WWW/lib/SvnBuildStat/WWW/Controller/Packages.pm
===================================================================
--- people/goneri/SvnBuildStat-WWW/lib/SvnBuildStat/WWW/Controller/Packages.pm  
2007-06-19 15:58:24 UTC (rev 2990)
+++ people/goneri/SvnBuildStat-WWW/lib/SvnBuildStat/WWW/Controller/Packages.pm  
2007-06-19 16:00:20 UTC (rev 2991)
@@ -26,6 +26,8 @@
 
   my $majorrelease = $$package->svndebrelease;
   $majorrelease =~ s/-[0-9A-Za-z\.~]*$//;
+  # remove the EPOCH if exists
+  $majorrelease =~ s/^\d+://;
 
   $$package->name.'_'.$majorrelease.".orig.tar.gz";
 }


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to