[libaxiom-java] 15/21: debian/rules: Changed the get-orig-source target to use uscan

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Mar 24 10:34:40 UTC 2016


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

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

commit 63802b5db7d7be33745c4f1d19305fd4b0f3cece
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Mar 24 10:12:34 2016 +0100

    debian/rules: Changed the get-orig-source target to use uscan
---
 debian/changelog |  1 +
 debian/rules     | 10 +---------
 2 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f73a127..cbb212a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,7 @@ libaxiom-java (1.2.8-2) UNRELEASED; urgency=medium
   * Switch to source format 3.0 (quilt)
   * Updated debian/watch
   * Use XZ compression for the ustream tarball
+  * debian/rules: Changed the get-orig-source target to use uscan
 
  -- Emmanuel Bourg <ebourg at apache.org>  Thu, 24 Mar 2016 09:17:12 +0100
 
diff --git a/debian/rules b/debian/rules
index 72ab3d1..b79b5a3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,8 +3,6 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/ant.mk
 
-SRCARCHIVE           := http://archive.apache.org/dist/ws/commons/axiom/
-SRCDIRECTORY         := $(shell echo $(DEB_UPSTREAM_VERSION) | sed 'y/\./_/')
 JAVA_HOME            := /usr/lib/jvm/default-java
 DEB_ANT_CHECK_TARGET := test
 DEB_ANT_BUILDFILE    := ./debian/build.xml
@@ -19,10 +17,4 @@ binary-post-install/libaxiom-java::
 	done
 
 get-orig-source:
-	mkdir -p orig_tmp
-	cd orig_tmp && \
-		wget $(SRCARCHIVE)/$(SRCDIRECTORY)/axiom-$(DEB_UPSTREAM_VERSION)-src.zip && \
-		unzip -n axiom-$(DEB_UPSTREAM_VERSION)-src.zip && \
-		tar czf ../../libaxiom-java_$(DEB_UPSTREAM_VERSION).orig.tar.gz axiom-$(DEB_UPSTREAM_VERSION)
-	rm -rf orig_tmp
-
+	uscan --download-current-version --force-download --no-symlink

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



More information about the pkg-java-commits mailing list