From d3bee46ffe2890ed49a2f92bdbc479cc4dc6b7f8 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Wed, 2 Jan 2013 21:45:53 -0800 Subject: [PATCH] Switch to xz compression * Switch to xz compression for the upstream tarball, Debian tarball, and binary packages. --- debian/changelog | 2 ++ debian/rules | 5 ++++- debian/source/options | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 debian/source/options diff --git a/debian/changelog b/debian/changelog index f9b4c6ccf..10fe11c53 100644 --- a/debian/changelog +++ b/debian/changelog @@ -16,6 +16,8 @@ openafs (1.6.2~pre2-1) UNRELEASED; urgency=low bytes of a file as nulls. - Support Linux kernels up to 3.7. - Support newer glibc versions. + * Switch to xz compression for the upstream tarball, Debian tarball, and + binary packages. * Remove debian/import-upstream and change README.source to document using git-import-orig with --upstream-vcs-tag instead. * Move single-debian-patch to local-options and patch-header to diff --git a/debian/rules b/debian/rules index 7ac5a44b1..e8cc6cb45 100755 --- a/debian/rules +++ b/debian/rules @@ -84,7 +84,7 @@ get-orig-source: rm -r openafs_$(DEBVERS).orig/src/WINNT tar cf openafs_$(DEBVERS).orig.tar openafs_$(DEBVERS).orig rm -r openafs_$(DEBVERS).orig - gzip -9 openafs_$(DEBVERS).orig.tar + xz openafs_$(DEBVERS).orig.tar # Use dh for most actions, with overrides below. %: @@ -264,3 +264,6 @@ override_dh_strip: rm -rf debian/openafs-dbg/usr/lib/debug/sbin rm -rf debian/openafs-dbg/usr/lib/debug/usr/bin rm -rf debian/openafs-dbg/usr/lib/debug/usr/sbin + +override_dh_builddeb: + dh_builddeb -- -Zxz diff --git a/debian/source/options b/debian/source/options new file mode 100644 index 000000000..b7bc1f2b7 --- /dev/null +++ b/debian/source/options @@ -0,0 +1 @@ +compression = "xz" -- 2.39.5