[libjettison-java] 20/34: Track and download the new releases from GitHub
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Fri Apr 20 15:37:44 BST 2018
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository libjettison-java.
commit 512604d93eb3cd58bc9ef38da2672b305bbcb756
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Fri Apr 20 14:18:04 2018 +0200
Track and download the new releases from GitHub
---
debian/changelog | 1 +
debian/control | 2 +-
debian/copyright | 2 +-
debian/orig-tar.sh | 21 ---------------------
debian/watch | 5 ++---
5 files changed, 5 insertions(+), 26 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 4bac269..da795e5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ libjettison-java (1.2-4) UNRELEASED; urgency=medium
* Moved the package to Git
* Standards-Version updated to 4.1.4
* Switch to debhelper level 11
+ * Track and download the new releases from GitHub
-- Emmanuel Bourg <ebourg at apache.org> Fri, 20 Apr 2018 13:56:51 +0200
diff --git a/debian/control b/debian/control
index 98a12a5..3c8d732 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Build-Depends:
Standards-Version: 4.1.4
Vcs-Git: https://anonscm.debian.org/git/pkg-java/libjettison-java.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/libjettison-java.git
-Homepage: http://jettison.codehaus.org/
+Homepage: https://github.com/jettison-json/jettison
Package: libjettison-java
Architecture: all
diff --git a/debian/copyright b/debian/copyright
index a36d51c..b8ed986 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,7 +1,7 @@
This package was debianized by Torsten Werner <twerner at debian.org> on
Sat, 24 Nov 2007 00:01:40 +0100.
-It was downloaded from http://jettison.codehaus.org/
+It was downloaded from https://github.com/jettison-json/jettison
Copyright: (C) 2006 Envoi Solutions LLC
(C) 2002 JSON.org
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
deleted file mode 100755
index df1af92..0000000
--- a/debian/orig-tar.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh
-
-# called by uscan with '--upstream-version' <version> <file>
-DIR=jettison-$2
-TAR=../libjettison-java_$2.orig.tar.gz
-FILE=jettison-$2-sources.jar
-
-# clean up the upstream tarball
-wget http://repository.codehaus.org/org/codehaus/jettison/jettison/$2/$FILE
-mkdir $DIR
-(cd $DIR && jar xf ../$FILE)
-tar -c -z -f $TAR $DIR
-rm -rf $DIR ../$2 $FILE
-
-# move to directory 'tarballs'
-if [ -r .svn/deb-layout ]; then
- . .svn/deb-layout
- mv $TAR $origDir
- echo "moved $TAR to $origDir"
-fi
-
diff --git a/debian/watch b/debian/watch
index 7d723a6..c28397d 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,3 @@
version=3
-opts=uversionmangle=s/-/~/ \
- http://repository.codehaus.org/org/codehaus/jettison/jettison/ (\d.*)/ \
- debian debian/orig-tar.sh
+opts="repack,compression=xz" \
+https://github.com/jettison-json/jettison/tags .*/archive/jettison-([\d\.]+).tar.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libjettison-java.git
More information about the pkg-java-commits
mailing list