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

Andreas Tille tille at debian.org
Tue Nov 14 09:08:51 UTC 2017


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

tille pushed a commit to branch master
in repository discosnp.

commit 72e6a5d9a12993a9236c531e6b30c5096725525a
Author: Andreas Tille <tille at debian.org>
Date:   Tue Nov 14 09:51:09 2017 +0100

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

diff --git a/debian/changelog b/debian/changelog
index 44aaf6f..0116c9b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ discosnp (1.2.6-2) UNRELEASED; urgency=medium
   * Mention that program is superseded by DiscoSnp++
   * Moved packaging from SVN to Git
   * debhelper 10
+  * d/rules: do not parse d/changelog
 
  -- Andreas Tille <tille at debian.org>  Tue, 14 Nov 2017 09:41:19 +0100
 
diff --git a/debian/rules b/debian/rules
index 5d1e2f8..2bc21ab 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-SRC_VERSION =$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(\([0-9]\+\):\)\?\(.*\)-.*/\3/p')
+include /usr/share/dpkg/default.mk
 
 %:
 	dh $@
@@ -16,8 +16,8 @@ override_dh_auto_build:
 override_dh_install:
 	cp output_analyses/discoSnp_to_genotypes.py output_analyses/discoSnp_to_genotypes
 	cp output_analyses/discoSnp_to_csv.py output_analyses/discoSnp_to_csv
-	help2man --help-option=-h --no-discard-stderr --version-string=$(SRC_VERSION) kissnp2/kissnp2  > kissnp2.1
-	help2man --help-option=-h --no-discard-stderr --version-string=$(SRC_VERSION) kissreads/kissreads > kissreads.1
+	help2man --help-option=-h --no-discard-stderr --version-string=$(DEB_VERSION_UPSTREAM) kissnp2/kissnp2  > kissnp2.1
+	help2man --help-option=-h --no-discard-stderr --version-string=$(DEB_VERSION_UPSTREAM) kissreads/kissreads > kissreads.1
 	dh_install
 
 override_dh_clean:

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



More information about the debian-med-commit mailing list