Author: mjj29
Date: 2008-01-12 12:26:32 +0000 (Sat, 12 Jan 2008)
New Revision: 5303

Modified:
   packages/trunk/fretsonfire/debian/rules
Log:
use dpkg-parsechangelog to read the upstream version


Modified: packages/trunk/fretsonfire/debian/rules
===================================================================
--- packages/trunk/fretsonfire/debian/rules     2008-01-12 08:02:01 UTC (rev 
5302)
+++ packages/trunk/fretsonfire/debian/rules     2008-01-12 12:26:32 UTC (rev 
5303)
@@ -103,7 +103,7 @@
 
 binary: binary-indep binary-arch
 
-ORIG_VERSION=$(shell head -n1 debian/changelog  | sed 's/[a-zA-Z0-9-]* 
(\(.*\).dfsg-\([^-]\)*) .*/\1/')
+ORIG_VERSION=$(shell dpkg-parsechangelog | sed -n '/^Version/s/Version: //p')
 
 ../FretsOnFire-$(ORIG_VERSION)-linux.tar.gz:
        wget 
"http://downloads.sourceforge.net/fretsonfire/FretsOnFire-$(ORIG_VERSION)-linux.tar.gz?use_mirror=osdn"
 --directory-prefix=../


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

Reply via email to