From d60cbba1f4d8da236cbeab1ab970d249697a3772 Mon Sep 17 00:00:00 2001 From: Jonathan Nieder Date: Thu, 15 Jul 2010 01:51:24 -0500 Subject: [PATCH] debian get-orig-source: Build rsyncable tarball Using --rsyncable only adds about 2% to the file size, for the benefit of allowing rsync, bup, and other similar tools to take advantage of similarities between releases. --- debian/changelog | 2 +- debian/rules | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 92e71056..1cec8416 100644 --- a/debian/changelog +++ b/debian/changelog @@ -12,7 +12,7 @@ xz-utils (4.999.9beta+20100713-0.1) unstable; urgency=low * liblzma-dev: Install examples to /usr/share/doc/liblzma-dev. * debian/autogen.sh: Don’t regenerate upstream changelog when it is not out of date. - * debian/rules get-orig-source: Use gzip --no-name. + * debian/rules get-orig-source: Use gzip --no-name --rsyncable. * Standards-Version: 3.9.0. + Drop unpack-time conflicts in favor of configuration-time conflicts (Replaces + Breaks). diff --git a/debian/rules b/debian/rules index a1fc2c9e..97c6d41e 100755 --- a/debian/rules +++ b/debian/rules @@ -96,5 +96,6 @@ get-orig-source: echo "packaging $$commit_name"; \ git archive --format=tar "$$commit_name" \ --prefix="xz-utils-$$upstream_version/" | \ - gzip -n -9 > "../xz-utils_$$upstream_version.orig.tar.gz" + gzip -n --rsyncable -9 \ + > "../xz-utils_$$upstream_version.orig.tar.gz" rm -fr debian-orig-source -- 2.11.4.GIT