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

ebourg-guest pushed a commit to branch master
in repository snappy-java.

commit f22ae0fd8f55268407c29cdc85e295b71cff2746
Author: Andreas Tille <[email protected]>
Date:   Fri Mar 30 22:06:38 2012 +0200

    Handle version mangling properly
---
 debian/get-orig-source | 2 +-
 debian/watch           | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/get-orig-source b/debian/get-orig-source
index 47c789d..af97157 100755
--- a/debian/get-orig-source
+++ b/debian/get-orig-source
@@ -27,5 +27,5 @@ rm -rf 
${NAME}-${VERSION}/src/main/resources/org/xerial/snappy/native
 # Remove lib/ directory which was also stripped by Charles Plessy before and 
seems to be unneeded
 rm -rf ${NAME}-${VERSION}/lib
 
-GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -czf 
"$NAME"_"$VERSION".orig.tar.gz "${NAME}-${VERSION}"
+GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -czf 
"$NAME"_"$VERSION"~dfsg.orig.tar.gz "${NAME}-${VERSION}"
 rm -rf "${NAME}-$VERSION"
diff --git a/debian/watch b/debian/watch
index 20954b8..4dd5345 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,6 @@
 version=3
 #http://googlecode.debian.net/p/snappy-java/snappy-java-(.*).tar.gz
-http://code.google.com/p/snappy-java/downloads/list?can=1 \
+opts=dversionmangle=s/\~dfsg// \
+ http://code.google.com/p/snappy-java/downloads/list?can=1 \
   .*/snappy-java-(\d[\d\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))|zip) \
  debian debian/get-orig-source

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

_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to