[snappy-java] 32/51: Handle version mangling properly
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Tue Nov 25 17:16:45 GMT 2014
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 <tille at debian.org>
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
More information about the pkg-java-commits
mailing list