]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Switch to xz compression
authorRuss Allbery <rra@debian.org>
Thu, 3 Jan 2013 05:45:53 +0000 (21:45 -0800)
committerRuss Allbery <rra@debian.org>
Thu, 3 Jan 2013 05:45:53 +0000 (21:45 -0800)
* Switch to xz compression for the upstream tarball, Debian tarball, and
  binary packages.

debian/changelog
debian/rules
debian/source/options [new file with mode: 0644]

index f9b4c6ccfcf90e1e4b6da8d7b5af902e7138fe4f..10fe11c5347e892d81a889f21514e2ec884543ef 100644 (file)
@@ -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
index 7ac5a44b1a149630797c46e086a92c783b4677bc..e8cc6cb4541d4f2a4ba22990b4ea49d2ee465047 100755 (executable)
@@ -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 (file)
index 0000000..b7bc1f2
--- /dev/null
@@ -0,0 +1 @@
+compression = "xz"