[pkg-java] r5442 - trunk/grinvin/debian

apeeters-guest at alioth.debian.org apeeters-guest at alioth.debian.org
Mon Jan 14 14:26:12 UTC 2008


Author: apeeters-guest
Date: 2008-01-14 14:26:12 +0000 (Mon, 14 Jan 2008)
New Revision: 5442

Modified:
   trunk/grinvin/debian/rules
Log:
Parse version from changelog

Modified: trunk/grinvin/debian/rules
===================================================================
--- trunk/grinvin/debian/rules	2008-01-14 14:25:17 UTC (rev 5441)
+++ trunk/grinvin/debian/rules	2008-01-14 14:26:12 UTC (rev 5442)
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 
-VERSION=1.0.3
+VERSION=`dpkg-parsechangelog | grep '^Version: ' | sed -e 's/Version: //' | sed -e 's/\.dfsg.*//'`
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/rules/simple-patchsys.mk




More information about the pkg-java-commits mailing list