From 2f6a2d3bd1c2fda24be7aa09940e3e5ece676c8c Mon Sep 17 00:00:00 2001 From: Guido Guenther Date: Sat, 3 Nov 2007 13:03:03 +0100 Subject: call gzip with "-n" (Closes: #449094) - thanks to Romain Francoise --- git-buildpackage | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'git-buildpackage') diff --git a/git-buildpackage b/git-buildpackage index 147e98e5..10291291 100755 --- a/git-buildpackage +++ b/git-buildpackage @@ -51,9 +51,10 @@ def create_orig(cp, output_dir, treeish): "create an orig.tar.gz in output_dir" output = os.path.join(output_dir, orig_file(cp)) prefix = "%s-%s" % (cp['Source'], cp['Upstream-Version']) + gzip_opts = "-9 -n" pipe = pipes.Template() - pipe.append('gzip -c -9', '--') + pipe.append('gzip -c %s' % gzip_opts, '--') return git_archive_pipe(prefix, pipe, output, treeish) -- cgit v1.2.3