[med-svn] [plink] 01/02: do not parse d/changelog

Andreas Tille tille at debian.org
Thu Nov 16 13:01:34 UTC 2017


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

tille pushed a commit to branch master
in repository plink.

commit 6b4e7322dca47e85960884c5f9b716402e86dca5
Author: Andreas Tille <tille at debian.org>
Date:   Thu Nov 16 13:52:34 2017 +0100

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

diff --git a/debian/changelog b/debian/changelog
index a8ce8d8..d4c0291 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ plink (1.07-9) UNRELEASED; urgency=medium
 
   * Moved packaging from SVN to Git
   * Standards-Version: 4.1.1
+  * d/rules: do not parse d/changelog
 
  -- Andreas Tille <tille at debian.org>  Thu, 16 Nov 2017 13:44:35 +0100
 
diff --git a/debian/rules b/debian/rules
index 68bac49..ed7be2b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 
-pkg := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
+include /usr/share/dpkg/default.mk
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
@@ -25,7 +25,7 @@ override_dh_auto_build:
 
 override_dh_installexamples:
 	dh_installexamples
-	chmod 644 debian/$(pkg)/usr/share/doc/$(pkg)/examples/*
+	chmod 644 debian/$(DEB_SOURCE)/usr/share/doc/$(DEB_SOURCE)/examples/*
 
 override_dh_installchangelogs:
 	dh_installchangelogs debian/upstream.changelog

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



More information about the debian-med-commit mailing list