[hessian] 07/07: Simplify d/rules

Miguel Landaeta nomadium at moszumanska.debian.org
Mon Aug 7 09:56:52 UTC 2017


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

nomadium pushed a commit to branch master
in repository hessian.

commit 982722fdd254372264275d6bb4db983154f07dc1
Author: Miguel Landaeta <nomadium at debian.org>
Date:   Mon Aug 7 10:56:31 2017 +0100

    Simplify d/rules
---
 debian/changelog | 3 ++-
 debian/rules     | 5 ++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 73d84ba..c8b9294 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,8 +7,9 @@ hessian (4.0.38-3) UNRELEASED; urgency=medium
   * Wrap and sort dependency lists.
   * Update copyright info.
   * Use HTTPS URLs in Vcs-* fields.
+  * Simplify d/rules.
 
- -- Miguel Landaeta <nomadium at debian.org>  Mon, 07 Aug 2017 10:55:20 +0100
+ -- Miguel Landaeta <nomadium at debian.org>  Mon, 07 Aug 2017 10:56:02 +0100
 
 hessian (4.0.38-2) unstable; urgency=medium
 
diff --git a/debian/rules b/debian/rules
index 7192579..573a8da 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,10 +1,9 @@
 #!/usr/bin/make -f
+include /usr/share/dpkg/default.mk
 
 export JAVA_HOME=/usr/lib/jvm/default-java
 export CLASSPATH=/usr/share/java/servlet-api-3.1.jar
 
-DEB_UPSTREAM_VERSION := $(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
-
 %:
 	dh $@ --with javahelper
 
@@ -22,4 +21,4 @@ get-orig-source:
 	uscan --force-download --download-current-version --no-symlink
 
 get-orig-pom:
-	wget http://central.maven.org/maven2/com/caucho/hessian/$(DEB_UPSTREAM_VERSION)/hessian-$(DEB_UPSTREAM_VERSION).pom -O debian/pom.xml
+	wget http://central.maven.org/maven2/com/caucho/hessian/$(DEB_VERSION_UPSTREAM)/hessian-$(DEB_VERSION_UPSTREAM).pom -O debian/pom.xml

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



More information about the pkg-java-commits mailing list