[Python-modules-commits] r16775 - in packages/slapos.slap/trunk/debian (changelog rules)

arnau at users.alioth.debian.org arnau at users.alioth.debian.org
Tue Apr 26 05:19:40 UTC 2011


    Date: Tuesday, April 26, 2011 @ 05:19:26
  Author: arnau
Revision: 16775

Fix incorrect date and Git hash in Debian version

Modified:
  packages/slapos.slap/trunk/debian/changelog
  packages/slapos.slap/trunk/debian/rules

Modified: packages/slapos.slap/trunk/debian/changelog
===================================================================
--- packages/slapos.slap/trunk/debian/changelog	2011-04-26 05:13:54 UTC (rev 16774)
+++ packages/slapos.slap/trunk/debian/changelog	2011-04-26 05:19:26 UTC (rev 16775)
@@ -1,4 +1,4 @@
-slapos.slap (1.2~20110425+1.gitc8e0300-1) unstable; urgency=low
+slapos.slap (1.2~20110415+1.git47b66f5-1) unstable; urgency=low
 
   * Initial upload. Closes: #623986.
 

Modified: packages/slapos.slap/trunk/debian/rules
===================================================================
--- packages/slapos.slap/trunk/debian/rules	2011-04-26 05:13:54 UTC (rev 16774)
+++ packages/slapos.slap/trunk/debian/rules	2011-04-26 05:19:26 UTC (rev 16775)
@@ -19,12 +19,14 @@
 	rm -rf get-orig-source $(TARBALL)
 	mkdir get-orig-source
 
+	# Gitorious does not seem to support remote archive command,
+	# thus clone and then archive the local copy
 	git clone http://git.gitorious.org/slapos/slapos-libslap-python.git \
 		get-orig-source/$(PACKAGE)-$(SRC_VERSION).orig
 
 	cd get-orig-source/$(PACKAGE)-$(SRC_VERSION).orig && \
-		git archive --prefix=$(PACKAGE)-$(SRC_VERSION).orig/ --format=tar \
-			`git rev-list --all | grep "$(GIT_VERSION)$$"` | \
+		git archive --prefix=$(PACKAGE)-$(SRC_VERSION).orig/ \
+			--format=tar $(GIT_VERSION) | \
 			gzip --no-name --best > ../../$(TARBALL)
 
 	rm -rf get-orig-source




More information about the Python-modules-commits mailing list