[med-svn] [pcma] 07/10: There is no point in repackging - just rename download to versioned tarball name

Andreas Tille tille at debian.org
Mon Dec 18 13:03:48 UTC 2017


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

tille pushed a commit to branch master
in repository pcma.

commit b7777fed9a50893d47241907e65cf3d9f3a61615
Author: Andreas Tille <tille at debian.org>
Date:   Mon Dec 18 14:01:36 2017 +0100

    There is no point in repackging - just rename download to versioned tarball name
---
 debian/get-orig-source | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/debian/get-orig-source b/debian/get-orig-source
index b479a89..6d126e0 100755
--- a/debian/get-orig-source
+++ b/debian/get-orig-source
@@ -1,7 +1,5 @@
 #!/bin/sh -e
 
-COMPRESS=xz
-
 NAME=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
 DVERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed -e 's/^[0-9]*://' -e 's/-.*//'`
 MVERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/^\([0-9\.]\+\)[+~][-0-9]\+$/\1/'`
@@ -18,7 +16,5 @@ if [ "$DVERSION" = "$VERSION" ] ; then
   exit
 fi
 
-TARDIR=${NAME}-${VERSION}
-mv ${NAME} ${TARDIR}
-GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -caf "$NAME"_"$VERSION".orig.tar.${COMPRESS} "${TARDIR}"
-rm -rf ${TARDIR}
+mv pcma.tar.gz "$NAME"_"$VERSION".orig.tar.gz
+rm -rf pcma

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



More information about the debian-med-commit mailing list