[dom4j] 59/74: Track and download the new releases from GitHub

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Oct 25 10:34:21 UTC 2017


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

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

commit 65c7e1c244654ca5c6e19fca10b9e9696499b7c7
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Sat Oct 14 01:35:22 2017 +0200

    Track and download the new releases from GitHub
---
 debian/changelog        |  1 +
 debian/control          |  2 +-
 debian/copyright        |  9 ++++++---
 debian/orig-tar.exclude |  9 ---------
 debian/orig-tar.sh      | 14 --------------
 debian/watch            |  4 ++--
 6 files changed, 10 insertions(+), 29 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c841d87..63480de 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ dom4j (1.6.1+dfsg.3-3) UNRELEASED; urgency=medium
   * Moved the package to Git
   * Switch to debhelper level 10
   * Standards-Version updated to 4.1.1
+  * Track and download the new releases from GitHub
 
  -- Emmanuel Bourg <ebourg at apache.org>  Fri, 13 Oct 2017 19:27:09 +0200
 
diff --git a/debian/control b/debian/control
index 3677bcc..4234988 100644
--- a/debian/control
+++ b/debian/control
@@ -24,7 +24,7 @@ Build-Depends:
 Standards-Version: 4.1.1
 Vcs-Git: https://anonscm.debian.org/git/pkg-java/dom4j.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/dom4j.git
-Homepage: http://sourceforge.net/projects/dom4j/
+Homepage: https://dom4j.github.io
 
 Package: libdom4j-java
 Architecture: all
diff --git a/debian/copyright b/debian/copyright
index 668ac91..90d3457 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,7 +1,10 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: dom4j
-Upstream-Contact: http://lists.sourceforge.net/lists/listinfo/dom4j-user
-Source: http://sourceforge.net/projects/dom4j/
+Source: https://github.com/dom4j/dom4j
+Files-Excluded: gradle/wrapper
+                gradlew*
+                .idea
+                */CVS
 
 Files: *
 Copyright: 2001-2005, MetaStuff, Ltd.
diff --git a/debian/orig-tar.exclude b/debian/orig-tar.exclude
deleted file mode 100644
index e8cf89e..0000000
--- a/debian/orig-tar.exclude
+++ /dev/null
@@ -1,9 +0,0 @@
-*.jar
-lib/*.jar
-lib/endorsed/*
-lib/test/*
-lib/tools/*
-docs/apidocs/*
-docs/clover/org/dom4j/tree/ConcurrentReaderHashMap.html
-docs/xref/org/dom4j/tree/ConcurrentReaderHashMap.html
-src/java/org/dom4j/tree/ConcurrentReaderHashMap.java
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
deleted file mode 100755
index eb3d4a2..0000000
--- a/debian/orig-tar.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh -e
-
-# called by uscan with '--upstream-version' <version> <file>
-DEBIAN_VERSION=$2
-DIR=dom4j-$DEBIAN_VERSION
-TAR=../dom4j_$DEBIAN_VERSION+dfsg.3.orig.tar.gz
-
-# clean up the upstream tarball
-tar zxf $3
-rm -f $3
-GZIP=--best tar czf $TAR -X debian/orig-tar.exclude $DIR
-rm -rf $DIR
-
-exit 0
diff --git a/debian/watch b/debian/watch
index 55452ca..f5545ef 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
 version=3
-opts="dversionmangle=s/\+dfsg(\.\d+)?//" \
-  http://sf.net/dom4j/dom4j-(.*)\.tar\.gz debian debian/orig-tar.sh
+opts="mode=git,repack,compression=xz,uversionmangle=s/_/./g,dversionmangle=s/\+dfsg.*//" \
+https://github.com/dom4j/dom4j refs/tags/(?:dom4j_|version-)([\d\._]+)

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



More information about the pkg-java-commits mailing list