[med-svn] [SCM] snappy-java branch, master, updated. upstream/1.0.4.1_dfsg-33-g9f1f6bf

Andreas Tille tille at debian.org
Fri Mar 30 21:24:56 UTC 2012


The following commit has been merged in the master branch:
commit f22ae0fd8f55268407c29cdc85e295b71cff2746
Author: Andreas Tille <tille at debian.org>
Date:   Fri Mar 30 22:06:38 2012 +0200

    Handle version mangling properly

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

-- 
Snappy for Java, a fast compressor/decompresser



More information about the debian-med-commit mailing list