[rngom] 01/01: match date from the version instead of a hardcoded revno when pulling from upstream

Timo Aaltonen tjaalton-guest at moszumanska.debian.org
Tue Jan 14 14:20:54 UTC 2014


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

tjaalton-guest pushed a commit to branch master
in repository rngom.

commit c16f896e1dd79a16dee917ae607122ae9da24f1b
Author: Timo Aaltonen <tjaalton at ubuntu.com>
Date:   Tue Jan 14 16:20:13 2014 +0200

    match date from the version instead of a hardcoded revno when pulling from upstream
---
 debian/orig-tar.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 12e31bd..702fe41 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -3,9 +3,10 @@
 VERSION=$1
 TAR=../rngom_$VERSION.orig.tar.xz
 DIR=rngom-$VERSION
+DATE=$(echo "$VERSION" | sed -e 's/^.*\+svn//;s/$/T2359Z/')
 TAG=$(echo "rngom-$VERSION" | sed -re's/~(alpha|beta)/-\1-/')
 
-svn export -r 70 https://svn.java.net/svn/rngom~svn/trunk/rngom $DIR
+svn export -r {$DATE} https://svn.java.net/svn/rngom~svn/trunk/rngom $DIR
 XZ_OPT=--best tar -c -J -f $TAR \
     --exclude '*.jar' \
     --exclude '*.class' \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/rngom.git



More information about the pkg-java-commits mailing list