[tigris] 01/03: d/rules: use dpkg built-in DEB_VERSION_UPSTREAM
Apollon Oikonomopoulos
apoikos at moszumanska.debian.org
Thu Aug 3 20:58:35 UTC 2017
This is an automated email from the git hooks/post-receive script.
apoikos pushed a commit to branch master
in repository tigris.
commit 460dfc1d4a772816a503739d39f711199410eb21
Author: Apollon Oikonomopoulos <apoikos at debian.org>
Date: Thu Aug 3 16:51:45 2017 -0400
d/rules: use dpkg built-in DEB_VERSION_UPSTREAM
---
debian/rules | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/debian/rules b/debian/rules
index 34825d3..42e7bc4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,7 @@
#!/usr/bin/make -f
include /usr/share/javahelper/java-vars.mk
-
-DEB_UPSTREAM_VERSION := $(shell dpkg-parsechangelog -SVersion | cut -d : -f 2- | sed 's/-[^-]*$$//')
+include /usr/share/dpkg/pkg-info.mk
export CLASSPATH=/usr/share/java/clojure.jar
@@ -37,4 +36,4 @@ override_jh_clean:
# (cd test && find . -name '*_test.clj' | xargs clojure -cp $(PRODUCED_JAR):/usr/share/java/cheshire.jar)
get-orig-source:
- uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
+ uscan --download-version $(DEB_VERSION_UPSTREAM) --force-download --rename
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/tigris.git
More information about the pkg-java-commits
mailing list