[Python-modules-commits] r22972 - in packages/doublex/trunk/debian (rules)

davidvilla-guest at users.alioth.debian.org davidvilla-guest at users.alioth.debian.org
Mon Nov 12 11:36:52 UTC 2012


    Date: Monday, November 12, 2012 @ 11:36:51
  Author: davidvilla-guest
Revision: 22972

select tag when clone repo in debian/rules

Modified:
  packages/doublex/trunk/debian/rules

Modified: packages/doublex/trunk/debian/rules
===================================================================
--- packages/doublex/trunk/debian/rules	2012-11-12 11:13:15 UTC (rev 22971)
+++ packages/doublex/trunk/debian/rules	2012-11-12 11:36:51 UTC (rev 22972)
@@ -3,7 +3,7 @@
 APP=doublex
 VERSION=$(shell head -n 1 debian/changelog | cut -f2 -d " " | tr -d "()" | cut -f1 -d "-")
 
-ORIG_REPO=hg clone http://bitbucket.org/DavidVilla/python-doublex
+ORIG_REPO=hg clone http://bitbucket.org/DavidVilla/python-doublex -r v$(VERSION)
 ORIG_DIR=$(APP)-$(VERSION)
 EXCLUDE=--exclude=debian --exclude=\*~ --exclude=.hg --exclude=.svn --exclude=\*.pyc
 
@@ -13,4 +13,5 @@
 get-orig-source:
 	$(ORIG_REPO) $(ORIG_DIR)
 	tar $(EXCLUDE) -czf $(APP)_$(VERSION).orig.tar.gz $(ORIG_DIR)
-	$(RM) -r $(ORIG_DIR)
+	$(RM) -r $(ORIG_DIR
+)




More information about the Python-modules-commits mailing list