[med-svn] [mriconvert] 04/05: do not parse d/changelog
Andreas Tille
tille at debian.org
Thu Nov 30 14:30:26 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository mriconvert.
commit 074462ca386633277707ebe3ee7c41e861902de1
Author: Andreas Tille <tille at debian.org>
Date: Thu Nov 30 15:24:24 2017 +0100
do not parse d/changelog
---
debian/changelog | 2 ++
debian/rules | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index a841d13..076cf72 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,11 @@
mriconvert (1:2.1.0-2) UNRELEASED; urgency=medium
+ * Team upload
* Moved packaging from SVN to Git
* Secure URI in watch file
* Standards-Version: 4.1.1
* hardening=+all
+ * do not parse d/changelog
-- Andreas Tille <tille at debian.org> Tue, 24 Oct 2017 14:28:10 +0200
diff --git a/debian/rules b/debian/rules
index 1848017..b0830d9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,7 @@ DPKG_EXPORT_BUILDFLAGS = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-VERSION := $(shell dpkg-parsechangelog | grep Version | cut -d\ -f2 | cut -d- -f1)
+include /usr/share/dpkg/default.mk
%:
dh $@
@@ -14,5 +14,5 @@ override_dh_install:
dh_install */release/mcverter */release/MRIConvert usr/bin
override_dh_installman:
- help2man --no-info -n 'non-interactive MRI conversion software' --version-string $(VERSION) --no-discard-stderr */release/mcverter > mcverter.1
+ help2man --no-info -n 'non-interactive MRI conversion software' --version-string $(DEB_VERSION_UPSTREAM) --no-discard-stderr */release/mcverter > mcverter.1
dh_installman mcverter.1 debian/MRIConvert.1
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/mriconvert.git
More information about the debian-med-commit
mailing list