[Python-apps-commits] r3343 - in packages/waf/trunk/debian (rules)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Sat Jul 25 20:21:32 UTC 2009


    Date: Saturday, July 25, 2009 @ 20:21:29
  Author: piotr
Revision: 3343

get the VERSION from debian/changelog

Modified:
  packages/waf/trunk/debian/rules

Modified: packages/waf/trunk/debian/rules
===================================================================
--- packages/waf/trunk/debian/rules	2009-07-25 18:52:09 UTC (rev 3342)
+++ packages/waf/trunk/debian/rules	2009-07-25 20:21:29 UTC (rev 3343)
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 
-VERSION = 1.5.8
+VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-+]+).*,\1,p')
 
 export DEB_BUILD_OPTIONS := nocheck
 




More information about the Python-apps-commits mailing list