[DRE-commits] [SCM] ruby-openid.git branch, master, updated. upstream/2.1.8-6-g1e6debd
Paul van Tilburg
paulvt at debian.org
Fri May 11 22:47:55 UTC 2012
The following commit has been merged in the master branch:
commit 1e6debd3af6757932ff28314febcafcc2847862b
Author: Paul van Tilburg <paulvt at debian.org>
Date: Sat May 12 00:47:51 2012 +0200
Add repack.sh from libopenid-ruby, change it to use tar.gz and modify the watch file
diff --git a/debian/repack.sh b/debian/repack.sh
index 400a563..00570b4 100755
--- a/debian/repack.sh
+++ b/debian/repack.sh
@@ -20,7 +20,7 @@ trap "rm -rf \"$DIR\"" QUIT INT EXIT
# Create an extra directory to cope with rootless tarballs
UP_BASE="$DIR/unpack"
mkdir "$UP_BASE"
-tar xjf "$FILE" -C "$UP_BASE"
+tar xzf "$FILE" -C "$UP_BASE"
if [ `ls -1 "$UP_BASE" | wc -l` -eq 1 ]; then
# Tarball does contain a root directory
diff --git a/debian/watch b/debian/watch
index 4419205..df225d4 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,4 @@
version=3
-http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/ruby-openid .*/ruby-openid-(.*).tar.gz
+options="dversionmangle=s/debian//" \
+ http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/ruby-openid .*/ruby-openid-(.*).tar.gz \
+ debian sh debian/repack.sh
--
ruby-openid.git
More information about the Pkg-ruby-extras-commits
mailing list