[med-svn] [orthanc-dicomweb] 06/06: upgrade debian standards version

Sebastien Jodogne jodogne-guest at moszumanska.debian.org
Thu Jul 20 12:08:36 UTC 2017


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

jodogne-guest pushed a commit to branch master
in repository orthanc-dicomweb.

commit b7b19543c23dec44117730413992423c869be734
Author: jodogne-guest <s.jodogne at gmail.com>
Date:   Thu Jul 20 13:59:22 2017 +0200

    upgrade debian standards version
---
 debian/control | 2 +-
 debian/rules   | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index bd11c4f..0bd8e0f 100644
--- a/debian/control
+++ b/debian/control
@@ -17,7 +17,7 @@ Build-Depends: cmake,
                orthanc-dev (>= 1.1.0),
                uuid-dev,
                zlib1g-dev
-Standards-Version: 3.9.8
+Standards-Version: 4.0.0
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/orthanc-dicomweb.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/orthanc-dicomweb.git
 Homepage: http://www.orthanc-server.com/static.php?page=dicomweb
diff --git a/debian/rules b/debian/rules
index e1c753c..3e66627 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,8 @@
 #!/usr/bin/make -f
 
-export DEBIAN_VERSION := $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
-export UPSTREAM_VERSION := $(shell echo "$(DEBIAN_VERSION)" | cut -d '+' -f 1)
+include /usr/share/dpkg/pkg-info.mk
+
+export UPSTREAM_VERSION := $(shell echo "$(DEB_VERSION)" | cut -d '+' -f 1)
 export TARGET := libOrthancDicomWeb.so
 
 export DEB_BUILD_MAINT_OPTIONS := hardening=+all

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



More information about the debian-med-commit mailing list