]> git.proxmox.com Git - mirror_smartmontools-debian.git/commitdiff
Switch to XZ for orig.tar compression
authorJonathan Dowland <jmtd@debian.org>
Tue, 26 Jan 2016 22:47:25 +0000 (22:47 +0000)
committerJonathan Dowland <jmtd@debian.org>
Tue, 26 Jan 2016 22:47:25 +0000 (22:47 +0000)
debian/changelog
debian/rules

index 0ff940a59de92426aa01cd6cc4eaa3853e15c49d..810c978b346871df7b995190097cf11d01088588 100644 (file)
@@ -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 <jmtd@debian.org>  Tue, 26 Jan 2016 17:04:15 +0000
 
index 72ca8b3a8f9e44dc9a3a6528419849bad55ec023..41353712c047e86f8c1b73d17d71fd42756ec7e9 100755 (executable)
@@ -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"