[med-svn] [fasttree] 02/07: Use xz compression for source tarball

Andreas Tille tille at debian.org
Wed Apr 20 20:20:32 UTC 2016


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository fasttree.

commit 8c6499caf5d688f05fa257f4cf7e03c4a8a94ec0
Author: Andreas Tille <tille at debian.org>
Date:   Wed Apr 20 22:15:07 2016 +0200

    Use xz compression for source tarball
---
 debian/changelog       | 1 +
 debian/get-orig-source | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b685709..6816f52 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 fasttree (2.1.9-1) UNRELEASED; urgency=medium
 
   * New upstream version
+  * Use xz compression for source tarball
 
  -- Andreas Tille <tille at debian.org>  Wed, 20 Apr 2016 22:12:01 +0200
 
diff --git a/debian/get-orig-source b/debian/get-orig-source
index 2c03ca4..3ac3039 100755
--- a/debian/get-orig-source
+++ b/debian/get-orig-source
@@ -11,12 +11,12 @@ cd ../tarballs
 rm *.orig.tar.gz
 for f in FastTree*.c; do
   dir=`echo $f|sed "s/\.c//"` 
-  tarfile=`echo $f|sed "s/c/tar.gz/"` 
+  tarfile=`echo $f|sed "s/c/tar.xz/"`
   mkdir $dir
   mv $f $dir/fasttree.c
   cp ChangeLog $dir/changelog
-  tar -czf $tarfile $dir
+  tar --exclude-vcs --owner=root --group=root --mode=a+rX -caf $tarfile $dir
   rm -rf $dir
 done
 rm ChangeLog
-ln -s $tarfile ${PKG}_${VERSION}.orig.tar.gz 
+ln -s $tarfile ${PKG}_${VERSION}.orig.tar.xz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/fasttree.git



More information about the debian-med-commit mailing list