[jaxb] 01/24: Track and download the new releases from GitHub

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Sep 28 21:04:13 UTC 2017


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

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

commit 2f970f53703bc89df1a1157a955236866230c07b
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Sep 27 14:46:29 2017 +0200

    Track and download the new releases from GitHub
---
 debian/changelog   |  7 +++++++
 debian/copyright   |  3 ++-
 debian/orig-tar.sh | 31 -------------------------------
 debian/rules       |  2 +-
 debian/watch       |  5 ++---
 5 files changed, 12 insertions(+), 36 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 993beaa..26847a2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+jaxb (2.2.5-3) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Track and download the new releases from GitHub
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Wed, 27 Sep 2017 14:46:09 +0200
+
 jaxb (2.2.5-2) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/copyright b/debian/copyright
index a5885bb..249580a 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,6 +1,7 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: Glassfish Jaxb
-Source: https://jaxb.java.net
+Source: https://github.com/javaee/jaxb-v2
+Files-Excluded: *.jar
 
 Files: *
 Copyright: 1997-2012, Oracle and/or its affiliates
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
deleted file mode 100755
index 8d7bd6d..0000000
--- a/debian/orig-tar.sh
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh -e
-
-VERSION=$2
-UVERSION=`echo $VERSION | sed 's/\./_/g'`
-TAR=../jaxb_$VERSION.orig.tar.xz
-DIR=jaxb-$VERSION
-TAG=$(echo "jaxb-$UVERSION" | sed -re's/~(alpha|beta)/-\1-/')
-
-svn export https://svn.java.net/svn/jaxb~version2/tags/$TAG $DIR
-wget http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-impl/$VERSION/jaxb-impl-$VERSION.pom
-wget http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-xjc/$VERSION/jaxb-xjc-$VERSION.pom
-mv jaxb-impl-$VERSION.pom $DIR/jaxb-impl.pom
-mv jaxb-xjc-$VERSION.pom $DIR/jaxb-xjc.pom
-XZ_OPT=--best tar -c -J -f $TAR \
-    --exclude '*.jar' \
-    --exclude '*.class' \
-    --exclude '*.ipr' \
-    --exclude '*.iml' \
-    --exclude '.settings' \
-    --exclude '.project' \
-    --exclude '.classpath' \
-    --exclude '*.dll' \
-    --exclude '*.zip' \
-    $DIR
-rm -rf $DIR ../$TAG
-
-# 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/rules b/debian/rules
index 10c79fa..40c2d2b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -63,4 +63,4 @@ override_dh_install:
 	mh_installjar -plibjaxb-java -l jaxb-xjc.pom dist/lib/jaxb-xjc.jar
 
 get-orig-source:
-	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
+	uscan --download-current-version --force-download --rename
diff --git a/debian/watch b/debian/watch
index d1f0fc9..681b010 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,3 @@
 version=3
-opts="uversionmangle=s/-(alpha|beta)-/~$1/;s/_/\./g" \
-  https://svn.java.net/svn/jaxb~version2/tags/ \
-  jaxb-(\d.*)/ debian debian/orig-tar.sh
+opts="mode=git,compression=xz,repack,uversionmangle=s/-(alpha|beta)-/~$1/;s/_/\./g" \
+https://github.com/javaee/jaxb-v2 refs/tags/(?:jaxb-)?([\d\._]+)

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



More information about the pkg-java-commits mailing list