[med-svn] [gasic] 01/05: d/get-orig-source checks for revision number to set version properly
Andreas Tille
tille at debian.org
Mon Oct 10 11:44:25 UTC 2016
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository gasic.
commit 3255dea11857d76924f983ab704f4ace495b9588
Author: Andreas Tille <tille at debian.org>
Date: Fri Sep 16 13:24:34 2016 +0200
d/get-orig-source checks for revision number to set version properly
---
debian/changelog | 7 +++++++
debian/get-orig-source | 7 ++++++-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 812843d..f4302d0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+gasic (0.0.r19-1) UNRELEASED; urgency=medium
+
+ * New upsteam commit
+ * d/get-orig-source checks for revision number to set version properly
+
+ -- Andreas Tille <tille at debian.org> Fri, 16 Sep 2016 13:23:47 +0200
+
gasic (0.0.r18-3) unstable; urgency=medium
* Add dependency python-matplotlib
diff --git a/debian/get-orig-source b/debian/get-orig-source
index c9c1392..d5332ee 100755
--- a/debian/get-orig-source
+++ b/debian/get-orig-source
@@ -10,10 +10,15 @@ VERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/\([0-9\.]
mkdir -p ../tarballs
cd ../tarballs
+
+SVNURI="svn://svn.code.sf.net/p/gasic/code/trunk"
+revision=`LANG=C svn info ${SVNURI} | grep "^Last Changed Rev:" | sed 's/Last Changed Rev: *//'`
+VERSION=`echo ${VERSION}| sed "s/.r[0-9]\+$//"`.r${revision}
+
TARDIR=${NAME}-${VERSION}
# fetch source from SVN
-svn export svn://svn.code.sf.net/p/gasic/code/trunk $TARDIR
+svn export ${SVNURI} $TARDIR
GZIP="--best --no-name" XZ_OPT="-6v" tar --owner=root --group=root --mode=a+rX -a -cf ${NAME}_${VERSION}.orig.tar.${COMPRESSION} ${TARDIR}
rm -rf ${TARDIR}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/gasic.git
More information about the debian-med-commit
mailing list