[jenkins-remoting] 06/08: Updated the get-orig-source target in debian/rules

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Sep 4 10:24:58 UTC 2014


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

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

commit 7033803ab7209dc7532a018422891a7a4eabe43d
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Sep 4 09:47:25 2014 +0200

    Updated the get-orig-source target in debian/rules
---
 debian/changelog | 3 ++-
 debian/rules     | 7 ++-----
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 50ca58b..ee33f73 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-jenkins-remoting (2.32-1) UNRELEASED; urgency=medium
+jenkins-remoting (2.44-1) UNRELEASED; urgency=medium
 
   [ James Page ]
   * New upstream release:
@@ -15,6 +15,7 @@ jenkins-remoting (2.32-1) UNRELEASED; urgency=medium
   [ Emmanuel Bourg ]
   * Switch to debhelper level 9
   * Use XZ compression for the upstream tarball
+  * debian/rules: Updated the get-orig-source target
 
  -- James Page <james.page at ubuntu.com>  Thu, 02 Jan 2014 13:15:28 +0000
 
diff --git a/debian/rules b/debian/rules
index d9ffe8b..51029d4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,14 +4,11 @@ include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/maven.mk
 
 JAVA_HOME := /usr/lib/jvm/default-java
-# Parse upstream version without +dfsg for source download+
-DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^+]+).*,\1,p')
+
 DEB_MAVEN_BUILD_TARGET := install
 
 get-orig-source:
-	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
-	mv ../jenkins-remoting_$(DEB_UPSTREAM_VERSION).orig.tar.gz \
-    	../jenkins-remoting_$(DEB_UPSTREAM_VERSION)+dfsg.orig.tar.gz
+	uscan --download-current-version --force-download --no-symlink
 
 clean::
 	[ ! -f src/test/keystore/dummy.keystore ] || rm -rf src/test/keystore

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



More information about the pkg-java-commits mailing list