[xsom] 02/03: prefix version with 0+

Timo Aaltonen tjaalton-guest at moszumanska.debian.org
Fri Jan 17 14:16: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 xsom.

commit c95f74a9711990fc87aa0bbda33163a01f194c6b
Author: Timo Aaltonen <tjaalton at ubuntu.com>
Date:   Fri Jan 17 16:03:57 2014 +0200

    prefix version with 0+
---
 debian/changelog   | 2 +-
 debian/orig-tar.sh | 2 +-
 debian/watch       | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 91cdfab..ffbabd5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-xsom (20110809-1) UNRELEASED; urgency=low
+xsom (0+20110809-1) UNRELEASED; urgency=low
 
   * Team upload
   * Initial release (Closes: #732204)
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 83e67b9..06cba41 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -3,7 +3,7 @@
 VERSION=$2
 TAR=../xsom_$VERSION.orig.tar.xz
 DIR=xsom-$VERSION
-TAG=$(echo "xsom-$VERSION" | sed -re's/~(alpha|beta)/-\1-/')
+TAG=$(echo "xsom-$VERSION" | sed -re's/0\+//')
 
 svn export https://svn.java.net/svn/xsom~sources/tags/${TAG}/ $DIR
 XZ_OPT=--best tar -c -J -f $TAR \
diff --git a/debian/watch b/debian/watch
index 1a5ae17..6ec4468 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,4 @@
 version=3
-opts="uversionmangle=s/-(alpha|beta)-/~$1/" \
+opts="uversionmangle=s/-(alpha|beta)-/~$1/;s/^/0\+/" \
   https://svn.java.net/svn/xsom~sources/tags/ \
   xsom-(\d.*)/ debian debian/orig-tar.sh

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



More information about the pkg-java-commits mailing list