[rhino] 04/07: Track and download the new releases from GitHub

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Jan 19 13:59:33 UTC 2017


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

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

commit 3865baeaafa8c9d411f3be8970a7bccdb99da1b3
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Jan 19 14:36:17 2017 +0100

    Track and download the new releases from GitHub
---
 debian/changelog        |  1 +
 debian/orig-tar.exclude |  3 ---
 debian/orig-tar.sh      | 12 ------------
 debian/watch            |  6 +++---
 4 files changed, 4 insertions(+), 18 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a39f050..575b64a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ rhino (1.7R4-5) UNRELEASED; urgency=medium
   * Standards-Version updated to 3.9.8
   * Switch to debhelper level 10
   * Use secure Vcs-* URLs
+  * Track and download the new releases from GitHub
 
  -- Emmanuel Bourg <ebourg at apache.org>  Thu, 19 Jan 2017 14:22:27 +0100
 
diff --git a/debian/orig-tar.exclude b/debian/orig-tar.exclude
deleted file mode 100644
index 91a7a30..0000000
--- a/debian/orig-tar.exclude
+++ /dev/null
@@ -1,3 +0,0 @@
-javadoc/*
-js.jar
-js-14.jar
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
deleted file mode 100755
index bed8112..0000000
--- a/debian/orig-tar.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh -e
-
-# called by uscan with '--upstream-version' <version> <file>
-DIR=rhino-$2
-TAR=rhino_$2.orig.tar.gz
-
-# Repack upstream source to tar.gz
-unzip $3
-mv rhino* $DIR
-GZIP=--best tar czf $TAR -X debian/orig-tar.exclude $DIR
-rm -rf $DIR
-
diff --git a/debian/watch b/debian/watch
index 99720b3..de3191d 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
-version=3
-opts=uversionmangle=s/-RC/~RC/;s/pre/~pre/ \
-  ftp://ftp.mozilla.org/pub/mozilla.org/js/rhino(.*)_(.*)\.zip debian debian/orig-tar.sh
+version=4
+opts=mode=git,compression=xz,uversionmangle=s/-RC/~RC/;s/pre/~pre/;s/_/./g;s/14R/1.4R/;s/140R/1.4.0R/;s/150R/1.5.0R/ \
+https://github.com/mozilla/rhino refs/tags/Rhino([\d_.R]+)_RELEASE

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



More information about the pkg-java-commits mailing list