[redeclipse] 378/494: xz compression for the orig tarball

Martin Werner arand-guest at moszumanska.debian.org
Sun Jun 21 20:52:53 UTC 2015


This is an automated email from the git hooks/post-receive script.

arand-guest pushed a commit to branch debdir
in repository redeclipse.

commit 986eeece7ff2146df313ed9813587c2fe2a9469c
Author: Martin Erik Werner <martinerikwerner at gmail.com>
Date:   Tue Jul 10 15:19:49 2012 +0200

    xz compression for the orig tarball
---
 changelog | 1 +
 rules     | 9 +++++----
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/changelog b/changelog
index 152409f..b309153 100644
--- a/changelog
+++ b/changelog
@@ -1,6 +1,7 @@
 redeclipse (1.2+svn3755-1) UNRELEASED; urgency=low
 
   * New upstream development snapshot
+  * XZ compression for orig tarball
 
  -- Martin Erik Werner <martinerikwerner at gmail.com>  Tue, 03 Jul 2012 00:02:38 +0200
 
diff --git a/rules b/rules
index 6b4e78d..2e7a4aa 100755
--- a/rules
+++ b/rules
@@ -39,12 +39,13 @@ override_dh_builddeb:
 
 VER=$(shell dpkg-parsechangelog | sed -rne 's/^Version: ([^-]+).*/\1/p')
 DIR=redeclipse-$(VER).orig
-TAR=redeclipse_$(VER).orig.tar.bz2
+UTAR=redeclipse_$(VER).orig.tar.bz2
+TAR=redeclipse_$(VER).orig.tar.xz
 get-orig-source:
 	uscan --noconf --force-download --download-current-version --destdir=.
 	rm -rf $(DIR)
-	tar -xf $(TAR)
-	rm -f $(TAR)
+	tar -xf $(UTAR)
+	rm -f $(UTAR)
 	mv redeclipse/ $(DIR)
 	rm -rf $(DIR)/src/include/
 	rm -rf $(DIR)/src/xcode/
@@ -54,6 +55,6 @@ get-orig-source:
 	rm -rf $(DIR)/bin/
 	rm -rf $(DIR)/bin64/
 	find $(DIR)/data/ -mindepth 1 -not -wholename "*examples*" -delete
-	BZIP2="-9" tar -cj --owner root --group root --mode a+rX \
+	XZ_OPT="-6" tar --create --xz --owner root --group root --mode a+rX \
 		-f $(TAR) $(DIR)
 	rm -rf $(DIR)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/redeclipse.git



More information about the Pkg-games-commits mailing list