[med-svn] [dicompyler] 02/03: d/rules: do not parse d/changelog

Andreas Tille tille at debian.org
Wed Sep 20 07:03:45 UTC 2017


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

tille pushed a commit to branch master
in repository dicompyler.

commit 31b8525404c7293523b53b074b3a157a0c90fdd5
Author: Andreas Tille <tille at debian.org>
Date:   Wed Sep 20 08:56:30 2017 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 162f02b..ef6df5f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
 dicompyler (0.4.2.0-1) UNRELEASED; urgency=medium
 
+  [ Vojtěch Kulvait ]
   * Team upload
   * More patches to finally work with wx 3.0
   * Not really new upstream version but content of upstream source archive
@@ -9,7 +10,10 @@ dicompyler (0.4.2.0-1) UNRELEASED; urgency=medium
   * Works with pillow >=3.0.0 addressing changes due to commit upstream
     71c95c8e5f3bba1845444a246d04646825e6bab3.
 
- -- Vojtěch Kulvait <kulvait at gmail.com>  Wed Sep 20 2017 00:14:03 +0200
+  [ Andreas Tille ]
+  * d/rules: do not parse d/changelog
+
+ -- Vojtěch Kulvait <kulvait at gmail.com>  Wed Sep 20 00:14:03 CEST 2017
 
 dicompyler (0.4.2-4) unstable; urgency=medium
 
diff --git a/debian/rules b/debian/rules
index 3fcf291..1dbb55f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,12 @@
 #!/usr/bin/make -f
-# debian/rules for dicompyler
-# Andreas Tille <tille at debian.org>
-# GPL
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
+include /usr/share/dpkg/default.mk
 
-export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/$(DEBPKGNAME)/
-export PYBUILD_AFTER_INSTALL=mv {destdir}/usr/bin/$(DEBPKGNAME) {destdir}/usr/share/$(DEBPKGNAME)/run
+export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/$(DEB_SOURCE)/
+export PYBUILD_AFTER_INSTALL=mv {destdir}/usr/bin/$(DEB_SOURCE) {destdir}/usr/share/$(DEB_SOURCE)/run
 
 %:
 	dh $@ --with python2 --buildsystem=pybuild

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



More information about the debian-med-commit mailing list