[jmdns] 07/10: Track and download the releases from GitHub
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Fri Jul 8 09:39:41 UTC 2016
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository jmdns.
commit 19224cc3c84e98b83827d81ee782b1195c1f4e29
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Fri Jul 8 10:32:22 2016 +0200
Track and download the releases from GitHub
---
debian/changelog | 1 +
debian/control | 2 +-
debian/copyright | 10 +++++++++-
debian/rules | 22 ++--------------------
debian/watch | 2 +-
5 files changed, 14 insertions(+), 23 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 2686fba..a21b765 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ jmdns (3.4.1-3) UNRELEASED; urgency=medium
* Remove self from Uploaders
[ Emmanuel Bourg ]
+ * Track and download the releases from GitHub
* Standards-Version updated to 3.9.8
* Removed the deprecated DM-Upload-Allowed field
* Moved the package to Git
diff --git a/debian/control b/debian/control
index 3593b25..1f2b0d8 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Build-Depends-Indep: junit4, libeasymock-java, ant
Standards-Version: 3.9.8
Vcs-Git: https://anonscm.debian.org/git/pkg-java/jmdns.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/jmdns.git
-Homepage: http://jmdns.sourceforge.net/
+Homepage: https://github.com/jmdns/jmdns
Package: libjmdns-java
Architecture: all
diff --git a/debian/copyright b/debian/copyright
index 6f95e8a..393bbff 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,7 +1,15 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: JmDNS
Upstream-Contact: Arthur van Hoff, Rick Blair
-Source: http://jmdns.sourceforge.net/
+Source: https://github.com/jmdns/jmdns
+Files-Excluded: .classpath
+ .settings
+ .project
+ .travis.yml
+ *.iml
+ *.ipr
+ *.iws
+ devdocs
Files: *
Copyright: 2003-2005, Arthur van Hoff Rick Blair
diff --git a/debian/rules b/debian/rules
index 9f979a0..f35ed2f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,9 +5,6 @@ export JAVA_HOME=/usr/lib/jvm/default-java
export CLASSPATH=/usr/share/java/junit4.jar:/usr/share/java/easymock.jar
VER_FULL = $(shell dpkg-parsechangelog | grep '^Version' | cut -d' ' -f2 | cut -f1 -d-)
-UPSTREAM_SRC = jmdns-$(VER_FULL)
-DEBIAN_SRC_DIR = jmdns-$(VER_FULL)
-DEBIAN_SRC_TAR = jmdns_$(VER_FULL).orig.tar.gz
PACKAGE = jmdns
%:
@@ -24,20 +21,5 @@ override_dh_install:
mh_installjar -plib$(PACKAGE)-java -l debian/poms/$(PACKAGE).pom $(PACKAGE).jar
dh_javadoc -Nlibjmdns-java -plib$(PACKAGE)-java-doc -i --sourcedir=src
-$(UPSTREAM_SRC).zip:
- wget http://voxel.dl.sourceforge.net/sourceforge/jmdns/$@
-
-get-orig-source: $(UPSTREAM_SRC).zip
- unzip -q $(UPSTREAM_SRC).zip -d $(DEBIAN_SRC_DIR)
- # Also remove pre-generated Javadoc
- rm -rf $(UPSTREAM_SRC)/docs/
- # Remove pre-generated jar file:
- rm -rf $(UPSTREAM_SRC)/lib/jmdns.jar
- GZIP="--best --no-name" tar czf $(DEBIAN_SRC_TAR) $(DEBIAN_SRC_DIR)
- rm -rf $(UPSTREAM_SRC)
- rm $(UPSTREAM_SRC).zip
-
-get-orig-pom:
- mkdir -p debian/poms
- wget -O debian/poms/jmdns.pom -U NoAgent-1.0 \
- http://repo1.maven.org/maven2/javax/jmdns/jmdns/$(VER_FULL)/jmdns-$(VER_FULL).pom
+get-orig-source:
+ uscan --download-current-version --force-download --rename --repack --compression xz
diff --git a/debian/watch b/debian/watch
index d516538..631131c 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
version=3
-http://sf.net/jmdns/jmdns-([\d\.]+)\.zip
+https://github.com/jmdns/jmdns/tags .*/archive/jmdns-([\d\.]+).tar.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jmdns.git
More information about the pkg-java-commits
mailing list