[Python-apps-commits] r774 - in packages/planet-venus/trunk/debian (changelog rules)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Thu Mar 6 21:06:41 UTC 2008


    Date: Thursday, March 6, 2008 @ 21:06:39
  Author: piotr
Revision: 774

* add Debian revision in version number
* parse bzr revision from debian/changelog (get-orig-source)

Modified:
  packages/planet-venus/trunk/debian/changelog
  packages/planet-venus/trunk/debian/rules

Modified: packages/planet-venus/trunk/debian/changelog
===================================================================
--- packages/planet-venus/trunk/debian/changelog	2008-03-06 21:04:18 UTC (rev 773)
+++ packages/planet-venus/trunk/debian/changelog	2008-03-06 21:06:39 UTC (rev 774)
@@ -1,4 +1,4 @@
-planet-venus (0~bzr86) experimental; urgency=low
+planet-venus (0~bzr86-1) experimental; urgency=low
 
   * Initial release. Closes: #461883
 

Modified: packages/planet-venus/trunk/debian/rules
===================================================================
--- packages/planet-venus/trunk/debian/rules	2008-03-06 21:04:18 UTC (rev 773)
+++ packages/planet-venus/trunk/debian/rules	2008-03-06 21:06:39 UTC (rev 774)
@@ -19,7 +19,7 @@
 REPOSITORY_URI = http://intertwingly.net/code/venus/
 
 PACKAGE_NAME = planet-venus
-PACKAGE_VERSION = 86
+PACKAGE_VERSION = $(shell dpkg-parsechangelog | sed -rne 's,^Version: .*~bzr([^-]+).*,\1,p')
 PACKAGE_DIRECTORY=$(PACKAGE_NAME)-0~bzr$(PACKAGE_VERSION).orig
 PACKAGE_FILENAME=$(PACKAGE_NAME)_0~bzr$(PACKAGE_VERSION).orig.tar.gz
 




More information about the Python-apps-commits mailing list