[med-svn] [wise] 03/06: d/rules: do not parse d/changelog

Andreas Tille tille at debian.org
Fri Sep 22 08:48:54 UTC 2017


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

tille pushed a commit to branch master
in repository wise.

commit 43129fb0b65b0a0a992d2e8b7d90372f156f7fde
Author: Andreas Tille <tille at debian.org>
Date:   Fri Sep 22 10:04:13 2017 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 1a931d5..5b1a13b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ wise (2.4.1-20) UNRELEASED; urgency=medium
   * Moved packaging from SVN to Git
   * debhelper 10
   * Standards-Version: 4.1.0 (no changes needed)
+  * d/rules: do not parse d/changelog
 
  -- Andreas Tille <tille at debian.org>  Fri, 22 Sep 2017 09:18:47 +0200
 
diff --git a/debian/rules b/debian/rules
index d033e69..358ff66 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,9 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
-pkg := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
-pkg-data := $(pkg)-data
+include /usr/share/dpkg/default.mk
+
+pkg-data := $(DEB_SOURCE)-data
 
 # Uncomment this to turn on verbose mode.
 export DH_VERBOSE=1

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



More information about the debian-med-commit mailing list