From: Jonathan Dowland Date: Tue, 26 Jan 2016 22:47:25 +0000 (+0000) Subject: Switch to XZ for orig.tar compression X-Git-Tag: debian/6.5+svn4324-1~18 X-Git-Url: https://git.proxmox.com/?p=mirror_smartmontools-debian.git;a=commitdiff_plain;h=d2cd5c38d67969917569ea37c271c02e70768531 Switch to XZ for orig.tar compression --- diff --git a/debian/changelog b/debian/changelog index 0ff940a..810c978 100644 --- a/debian/changelog +++ b/debian/changelog @@ -19,6 +19,7 @@ smartmontools (6.4+svn4109-2) UNRELEASED; urgency=medium * Enhance rules clean target to make repeated builds easier * Stop installing duplicate/irrelevant docs (COPYING, changelog, INSTALL) * add 'set -e' to postrm. + * Switch to xz for orig.tar compression and update get-orig-source rule. -- Jonathan Dowland Tue, 26 Jan 2016 17:04:15 +0000 diff --git a/debian/rules b/debian/rules index 72ca8b3..4135371 100755 --- a/debian/rules +++ b/debian/rules @@ -35,7 +35,7 @@ endif PACKAGE = smartmontools SRC_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p'| cut -d':' -f2) SVN_REVISION := $(shell echo $(SRC_VERSION) | awk -F"+" '{ print $$2 }' | sed 's/svn//' ) -TARBALL = $(PACKAGE)_$(SRC_VERSION).orig.tar.gz +TARBALL = $(PACKAGE)_$(SRC_VERSION).orig.tar.xz SVN_ROOT := 'https://svn.code.sf.net/p/smartmontools/code/trunk/smartmontools' get-orig-source: @@ -44,7 +44,7 @@ get-orig-source: svn export -r $(SVN_REVISION) $(SVN_ROOT) \ get-orig-source/$(PACKAGE)-$(SRC_VERSION).orig rm -rf get-orig-source/$(PACKAGE)-$(SRC_VERSION).orig/os_solaris_ata.s - GZIP=--best tar czf $(TARBALL) -C get-orig-source $(PACKAGE)-$(SRC_VERSION).orig + 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"