[Pkg-xen-changes] [xen] 02/04: genorig: Use xz
Bastian Blank
waldi at moszumanska.debian.org
Sun Sep 7 08:58:53 UTC 2014
This is an automated email from the git hooks/post-receive script.
waldi pushed a commit to branch develop
in repository xen.
commit 3c99ee8e8292a21bb643d991f706cbef57715fd9
Author: Bastian Blank <waldi at debian.org>
Date: Sun Sep 7 10:47:08 2014 +0200
genorig: Use xz
---
debian/bin/genorig.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/debian/bin/genorig.py b/debian/bin/genorig.py
index 9f9d961..dd6754c 100755
--- a/debian/bin/genorig.py
+++ b/debian/bin/genorig.py
@@ -39,10 +39,10 @@ class Main(object):
if options.component:
self.orig_dir = options.component
- self.orig_tar = '%s_%s.orig-%s.tar.gz' % (self.source, self.version.upstream, options.component)
+ self.orig_tar = '%s_%s.orig-%s.tar.xz' % (self.source, self.version.upstream, options.component)
else:
self.orig_dir = '%s-%s' % (self.source, self.version.upstream)
- self.orig_tar = '%s_%s.orig.tar.gz' % (self.source, self.version.upstream)
+ self.orig_tar = '%s_%s.orig.tar.xz' % (self.source, self.version.upstream)
if options.tag is None:
options.tag = 'RELEASE-' + self.version.upstream
@@ -78,7 +78,7 @@ class Main(object):
raise RuntimeError("Destination already exists")
except OSError: pass
- subprocess.check_call(('tar', '-C', self.temp_dir, '-czf', out, self.orig_dir))
+ subprocess.check_call(('tar', '-C', self.temp_dir, '-caf', out, self.orig_dir))
if __name__ == '__main__':
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-xen/xen.git
More information about the Pkg-xen-changes
mailing list