[SCM] blender/master: debian/rules: gzip->bz2 compression for upstream source

mfv-guest at users.alioth.debian.org mfv-guest at users.alioth.debian.org
Sat Dec 31 17:14:35 UTC 2011


The following commit has been merged in the master branch:
commit 83a7038dc6f574b451aaebae4a37652ee8f09c70
Author: Matteo F. Vescovi <m.vescovi at revese.it>
Date:   Sat Dec 31 15:18:08 2011 +0100

    debian/rules: gzip->bz2 compression for upstream source

diff --git a/debian/rules b/debian/rules
index 1676db0..72f7052 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ PROCESSORS:= $(shell getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1)
 PACKAGE = blender
 SRC_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(\([0-9]\+\):\)\?\(.*\)-.*/\3/p')
 SVN_REVISION := $(shell echo $(SRC_VERSION) | sed 's,^.*svn,,')
-TARBALL = $(PACKAGE)_$(SRC_VERSION).orig.tar.gz
+TARBALL = $(PACKAGE)_$(SRC_VERSION).orig.tar.bz2
 UPSTREAM_SVN_REPOSITORY = "https://svn.blender.org/svnroot/bf-blender/trunk/blender"
 .PHONY: get-orig-source
 
@@ -16,7 +16,7 @@ get-orig-source:
 	mkdir get-orig-source
 	svn export -r $(SVN_REVISION) $(UPSTREAM_SVN_REPOSITORY) \
 	get-orig-source/$(PACKAGE)-$(SRC_VERSION).orig
-	GZIP='--best --no-name' tar czf $(TARBALL) -C get-orig-source $(PACKAGE)-$(SRC_VERSION).orig
+	BZ2='--best --no-name' tar cjf $(TARBALL) -C get-orig-source $(PACKAGE)-$(SRC_VERSION).orig
 	rm -rf get-orig-source
 	@echo "  "$(TARBALL)" created; move it to the right destination to build the package"
 

-- 
blender packaging



More information about the pkg-multimedia-commits mailing list