[Python-modules-commits] r24037 - in packages/xmlserialize/trunk/debian (rules)

sunweaver at users.alioth.debian.org sunweaver at users.alioth.debian.org
Sun Apr 28 21:04:00 UTC 2013


    Date: Sunday, April 28, 2013 @ 21:03:58
  Author: sunweaver
Revision: 24037

/debian/rules: fix get-orig-source

Modified:
  packages/xmlserialize/trunk/debian/rules

Modified: packages/xmlserialize/trunk/debian/rules
===================================================================
--- packages/xmlserialize/trunk/debian/rules	2013-04-28 20:48:23 UTC (rev 24036)
+++ packages/xmlserialize/trunk/debian/rules	2013-04-28 21:03:58 UTC (rev 24037)
@@ -7,12 +7,12 @@
 BUILD_VERSION = $(shell echo $(MAIN_VERSION)|sed -n 's/\([0-9.]*\)[-+~].*/\1/p')
 VER = $(BUILD_VERSION)~git$(shell date -u '+%Y%m%d')
 
-get-git-source:
+get-orig-source:
 	dh_testdir
-	rm -rfv .upstream ../python-xmlserialize_$(VER).orig.tar.bz2
+	rm -rfv .upstream ../xmlserialize_$(VER).orig.tar.bz2
 	mkdir .upstream
 	mkdir -p ../tarballs
-	cd .upstream && git clone git://github.com/jonashaag/xmlserialize.py --depth 1
+	cd .upstream && git clone git://github.com/jonashaag/xmlserialize.py --depth 1 python-xmlserialize-$(VER)
 	find .upstream -type f | while read F; do chmod -x "$$F"; done
-	tar --exclude .git -jvcf ../tarballs/python-xmlserialize_$(VER).orig.tar.bz2 .upstream
+	cd .upstream && tar --exclude .git -jvcf ../../tarballs/python-xmlserialize_$(VER).orig.tar.bz2 python-xmlserialize-$(VER)
 	rm -rfv .upstream




More information about the Python-modules-commits mailing list