Author: alfie
Date: 2009-03-20 10:40:29 +0000 (Fri, 20 Mar 2009)
New Revision: 9233

Modified:
   packages/trunk/wesnoth/debian/changelog
   packages/trunk/wesnoth/debian/rules
Log:
 * Fix NEXT_VERSION magic to work with letters in the minor number.

Modified: packages/trunk/wesnoth/debian/changelog
===================================================================
--- packages/trunk/wesnoth/debian/changelog     2009-03-20 10:29:49 UTC (rev 
9232)
+++ packages/trunk/wesnoth/debian/changelog     2009-03-20 10:40:29 UTC (rev 
9233)
@@ -2,6 +2,7 @@
 
   * New upstream hotfix release fixing several AI related problems in
     multiplayer mode.
+  * Fix NEXT_VERSION magic to work with letters in the minor number.
 
  -- Gerfried Fuchs <[email protected]>  Fri, 20 Mar 2009 09:24:25 +0100
 

Modified: packages/trunk/wesnoth/debian/rules
===================================================================
--- packages/trunk/wesnoth/debian/rules 2009-03-20 10:29:49 UTC (rev 9232)
+++ packages/trunk/wesnoth/debian/rules 2009-03-20 10:40:29 UTC (rev 9233)
@@ -26,7 +26,7 @@
 
 # calculate the version strings
 MAJOR_VERSION = $(shell dpkg-parsechangelog | grep "^Version:" | cut -d" " -f2 
| cut -d. -f1)
-MINOR_VERSION = $(shell dpkg-parsechangelog | grep "^Version:" | cut -d" " -f2 
| cut -d. -f2 | cut -d- -f1)
+MINOR_VERSION = $(shell dpkg-parsechangelog | grep "^Version:" | cut -d" " -f2 
| cut -d. -f2 | cut -d- -f1 | sed -e 's/[^0-9]//g')
 UPSTREAM_VERSION =  $(shell dpkg-parsechangelog | grep "^Version:" | cut -d" " 
-f2 | rev | cut -d- -f2 | rev)
 
 ## if we are in a stable release we use this


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

Reply via email to