[Python-modules-commits] r7056 - in packages/python-gasp/trunk/debian (rules)
ffm-guest at users.alioth.debian.org
ffm-guest at users.alioth.debian.org
Mon Dec 1 22:07:17 UTC 2008
Date: Monday, December 1, 2008 @ 22:07:16
Author: ffm-guest
Revision: 7056
Fix debian-rules file to properly get source tarball
Modified:
packages/python-gasp/trunk/debian/rules
Modified: packages/python-gasp/trunk/debian/rules
===================================================================
--- packages/python-gasp/trunk/debian/rules 2008-11-30 19:28:30 UTC (rev 7055)
+++ packages/python-gasp/trunk/debian/rules 2008-12-01 22:07:16 UTC (rev 7056)
@@ -11,10 +11,10 @@
PACKAGE = python-gasp
BRANCH_LOC = lp:gasp-code
SRC_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p')
-SVN_REVISION := $(shell echo $(SRC_VERSION) | awk -F"+" '{ print $$2 }' | sed 's/.\..\..~bzr//' )
+SVN_REVISION := $(shell echo $(SRC_VERSION) | sed 's/.\..\..~bzr//' )
TARBALL = $(PACKAGE)_$(SRC_VERSION).orig.tar.gz
.PHONY: get-orig-source
get-orig-source:
- rm -rf $(TARBALL)
- bzr export -r $(SVN_REVISION) $(BRANCH_LOC) ../$(PACKAGE)-$(SRC_VERSION).orig.tar.gz
+ rm -rf ../$(TARBALL)
+ bzr export -r $(SVN_REVISION) ../$(TARBALL) $(BRANCH_LOC)
echo " "$(TARBALL)" created; move it to the right destination to build the package"
More information about the Python-modules-commits
mailing list