[libglazedlists-java] 03/07: update debian/watch file for github; update repack.stub

Tony Mancill tmancill at moszumanska.debian.org
Sun Feb 14 00:59:49 GMT 2016


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

tmancill pushed a commit to branch master
in repository libglazedlists-java.

commit 8b6491b98854c715a6bfeb4411cfc8e6e45f15b1
Author: tony mancill <tmancill at debian.org>
Date:   Tue Feb 9 22:04:41 2016 -0800

    update debian/watch file for github; update repack.stub
---
 debian/repack.stub | 9 ++++++---
 debian/watch       | 3 +--
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/debian/repack.stub b/debian/repack.stub
index 4d68667..7e36f5f 100755
--- a/debian/repack.stub
+++ b/debian/repack.stub
@@ -66,12 +66,15 @@ this is the directory where the upstream source is.
 
 Copyright 2009, Ryan Niebur <ryan at debian.org>
 
-License: Artistic or GPL-1+
+This program is free software; you can redistribute it and/or modify it
+under the same terms as Perl itself.
 
 =cut
 
 if [ -z "$REPACK_SH" ]; then
-    if [ -f ../../scripts/repack.sh ]; then
+    if [ -x /usr/share/pkg-perl-tools/repack.sh ]; then
+        REPACK_SH='/usr/share/pkg-perl-tools/repack.sh'
+    elif [ -f ../../scripts/repack.sh ]; then
         REPACK_SH=../../scripts/repack.sh
     fi
     if [ -z "$REPACK_SH" ] && which repack.sh > /dev/null; then
@@ -81,7 +84,7 @@ fi
 
 if [ ! -f "$REPACK_SH" ]; then
     echo "Couldn't find a repack.sh. please put it in your PATH, put it at ../../scripts/repack.sh, or put it somewhere else and set the REPACK_SH variable"
-    echo "You can get it from http://anonscm.debian.org/gitweb/?p=pkg-perl/scripts.git;a=blob_plain;f=repack.sh;hb=HEAD"
+    echo "You can get it from http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/pkg-perl-tools.git;a=blob_plain;f=scripts/repack.sh;hb=HEAD"
     exit 1
 fi
 
diff --git a/debian/watch b/debian/watch
index ff46f35..034ca76 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,6 +1,5 @@
 # Compulsory line, this is a version 3 file
 version=3
 
-opts=dversionmangle=s|(?:[.+])dfsg$||,downloadurlmangle=s|https://java.net/projects/glazedlists/downloads/directory/glazedlists-(.+)|http://search.maven.org/remotecontent?filepath=net/java/dev/glazedlists/glazedlists_java15/$1/glazedlists_java15-$1-dist.zip|,filenamemangle=s|/projects/glazedlists/downloads/directory/glazedlists-(.+)|glazedlists-$1.zip| \
-	https://java.net/projects/glazedlists/downloads .*/directory/glazedlists-(.+)$ \
+https://github.com/glazedlists/glazedlists/releases .*/glazedlists-v?(\d\S*)\.tar\.gz \
 	debian sh debian/repack.stub

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



More information about the pkg-java-commits mailing list