r5988 - packages/trunk/wesnoth/debian

Gerfried Fuchs alfie at alioth.debian.org
Mon Mar 3 08:33:45 UTC 2008


Author: alfie
Date: 2008-03-03 08:33:36 +0000 (Mon, 03 Mar 2008)
New Revision: 5988

Modified:
   packages/trunk/wesnoth/debian/changelog
   packages/trunk/wesnoth/debian/rules
Log:
 * Fixed version magic in debian/rules with respect to no patch level digit in it.

Modified: packages/trunk/wesnoth/debian/changelog
===================================================================
--- packages/trunk/wesnoth/debian/changelog	2008-03-03 00:35:58 UTC (rev 5987)
+++ packages/trunk/wesnoth/debian/changelog	2008-03-03 08:33:36 UTC (rev 5988)
@@ -3,8 +3,10 @@
   * New stable upstream release:
     - debian/rules: switch to stable release dependency chain
     - debian/watch: switch to stable release matching only
+  * Fixed version magic in debian/rules with respect to no patch level digit
+    in it.
 
- -- Gerfried Fuchs <rhonda at debian.at>  Sun, 02 Mar 2008 22:17:28 +0100
+ -- Gerfried Fuchs <rhonda at debian.at>  Sun, 02 Mar 2008 23:51:27 +0100
 
 wesnoth (1:1.3.19-1) unstable; urgency=low
 

Modified: packages/trunk/wesnoth/debian/rules
===================================================================
--- packages/trunk/wesnoth/debian/rules	2008-03-03 00:35:58 UTC (rev 5987)
+++ packages/trunk/wesnoth/debian/rules	2008-03-03 08:33:36 UTC (rev 5988)
@@ -22,7 +22,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)
+MINOR_VERSION = $(shell dpkg-parsechangelog | grep "^Version:" | cut -d" " -f2 | cut -d. -f2 | cut -d- -f1)
 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




More information about the Pkg-games-commits mailing list