[med-svn] [cgview] 01/01: d/rules: do not parse d/changelog

Andreas Tille tille at debian.org
Mon Oct 23 11:05:31 UTC 2017


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

tille pushed a commit to branch master
in repository cgview.

commit 9aff2be0382dd92076011294e09b521c0cf5ba27
Author: Andreas Tille <tille at debian.org>
Date:   Mon Oct 23 13:00:13 2017 +0200

    d/rules: do not parse d/changelog
---
 debian/changelog | 8 +++++++-
 debian/rules     | 4 ++--
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index fcf2b19..8dce4d5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,14 @@
-cgview (0.0.20100111-3) UNRELEASED; urgency=medium
+cgview (0.0.20100111-3) unstable; urgency=medium
 
+  * Team upload
+
+  [ Fabian Klötzl ]
   * add batik-all.jar to classpath (Closes: #879487)
   * bump policy version to 4.1.1 (no changes)
 
+  [ Andreas Tille ]
+  * d/rules: do not parse d/changelog
+
  -- Fabian Klötzl <kloetzl at evolbio.mpg.de>  Mon, 23 Oct 2017 10:38:42 +0200
 
 cgview (0.0.20100111-2) unstable; urgency=medium
diff --git a/debian/rules b/debian/rules
index ba98cdc..ccc7e9c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,7 @@
 
 # DH_VERBOSE := 1
 
-DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
+include /usr/share/dpkg/default.mk
 
 JAVA_HOME  := /usr/lib/jvm/default-java
 DEBJAR    := /usr/share/java
@@ -21,5 +21,5 @@ override_dh_auto_build:
 	cd src && \
 	cp -a ca/ualberta/stothard/cgview/includes . && \
 	javac -classpath $(CLASS_PATH) ca/ualberta/stothard/cgview/*.java && \
-	jar -cmf ../manifestinfo $(DEBPKGNAME).jar ca/ualberta/stothard/cgview/*.class includes && \
+	jar -cmf ../manifestinfo $(DEB_SOURCE).jar ca/ualberta/stothard/cgview/*.class includes && \
 	rm -rf includes

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/cgview.git



More information about the debian-med-commit mailing list