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

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

commit cab9977338d6f2bd5ef70d671fce28571fcdf881
Author: Timo Aaltonen <tjaal...@ubuntu.com>
Date:   Thu Jan 16 16:22:39 2014 +0200

    change the upstream version
---
 debian/changelog   | 2 +-
 debian/orig-tar.sh | 5 +++--
 debian/rules       | 2 +-
 debian/watch       | 1 +
 4 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index be321dd..3b3efdc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-scannotation (1.0.3-1) UNRELEASED; urgency=low
+scannotation (1.0.2+svn20110812-1) UNRELEASED; urgency=low
 
   * Initial release (Closes: #734659)
 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 2d4caa0..86b48e3 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -1,11 +1,12 @@
 #!/bin/sh -e
 
-VERSION=$2
+VERSION=$1
 TAR=../scannotation_$VERSION.orig.tar.xz
 DIR=scannotation-$VERSION
+DATE=$(echo "$VERSION" | sed -e 's/^.*\+svn//;s/$/T2359Z/')
 TAG=$(echo "scannotation-$VERSION" | sed -re's/~(alpha|beta)/-\1-/')
 
-svn export -r $1 svn://svn.code.sf.net/p/scannotation/code/ $DIR
+svn export -r {$DATE} svn://svn.code.sf.net/p/scannotation/code/ $DIR
 XZ_OPT=--best tar -c -J -f $TAR \
     --exclude '*.jar' \
     --exclude '*.class' \
diff --git a/debian/rules b/debian/rules
index 11edb06..0ee93b6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,4 +8,4 @@ JAVA_HOME := /usr/lib/jvm/default-java
 DEB_MAVEN_DOC_TARGET := javadoc:javadoc javadoc:aggregate
 
 get-orig-source:
-       debian/orig-tar.sh 12 1.0.3
+       debian/orig-tar.sh $(DEB_UPSTREAM_VERSION)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..75ecdf1
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1 @@
+# 'debian/rules get-orig-source' used instead, since the tarball needs to be 
generated

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

_______________________________________________
pkg-java-commits mailing list
pkg-java-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to