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

nomadium pushed a commit to branch master
in repository atinject-jsr330.

commit b8f31b708632f3b7ee4a229f3141d323934c0a02
Author: Miguel Landaeta <nomad...@debian.org>
Date:   Sat Jul 22 16:48:19 2017 +0100

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

diff --git a/debian/changelog b/debian/changelog
index 60d1ed1..c7d808e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,8 +5,9 @@ atinject-jsr330 (1.0+ds1-3) UNRELEASED; urgency=medium
   * Bump DH compat level to 10.
   * Switch Vcs-* and Homepage fields to HTTPS.
   * Bump Standards-Version to 3.9.8. No changes were required.
+  * Simplify d/rules.
 
- -- Miguel Landaeta <nomad...@debian.org>  Sat, 22 Jul 2017 16:23:43 +0100
+ -- Miguel Landaeta <nomad...@debian.org>  Sat, 22 Jul 2017 16:47:36 +0100
 
 atinject-jsr330 (1.0+ds1-2) unstable; urgency=medium
 
diff --git a/debian/rules b/debian/rules
index e54282e..359e101 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,9 @@
 #!/usr/bin/make -f
 
+include /usr/share/dpkg/default.mk
+
 export JAVA_HOME=/usr/lib/jvm/default-java
-VERSION := $(shell dpkg-parsechangelog | grep ^Version: | sed -r 's/^.*:\ 
([0-9\.]+)(-|\+).*/\1/')
+VERSION := $(shell echo $(DEB_VERSION_UPSTREAM) | sed 's/\+ds1$$//')
 
 %:
        dh $@ --with javahelper

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

_______________________________________________
pkg-java-commits mailing list
pkg-java-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to