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

Sebastien Jodogne jodogne-guest at moszumanska.debian.org
Fri Jun 23 10:23:18 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.

commit 83c1b2456041901797bd4a5adb2b19962d653827
Author: jodogne-guest <s.jodogne at gmail.com>
Date:   Fri Jun 23 11:47:14 2017 +0200

    upgrade debian standards version
---
 debian/control                  |  2 +-
 debian/rules                    |  5 +++--
 debian/source.lintian-overrides | 19 -------------------
 3 files changed, 4 insertions(+), 22 deletions(-)

diff --git a/debian/control b/debian/control
index 935eb7d..d0e45c8 100644
--- a/debian/control
+++ b/debian/control
@@ -24,7 +24,7 @@ Build-Depends: cmake,
                uuid-dev,
                zlib1g-dev,
                yui-compressor
-Standards-Version: 3.9.8
+Standards-Version: 4.0.0
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/orthanc.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/orthanc.git
 Homepage: http://www.orthanc-server.com/
diff --git a/debian/rules b/debian/rules
index cecc143..d2e3276 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,12 @@
 #!/usr/bin/make -f
 
+include /usr/share/dpkg/pkg-info.mk   # To access the "DEB_VERSION" variable
+
 export DESTDIR := $(CURDIR)/debian/tmp
 export DOC_DIR := $(DESTDIR)/usr/share/doc/orthanc
 export PLUGINS_DIR := $(DESTDIR)/usr/share/orthanc/plugins
 
-export DEBIAN_VERSION := $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
-export UPSTREAM_VERSION := $(shell echo "$(DEBIAN_VERSION)" | cut -d '+' -f 1)
+export UPSTREAM_VERSION := $(shell echo "$(DEB_VERSION)" | cut -d '+' -f 1)
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
diff --git a/debian/source.lintian-overrides b/debian/source.lintian-overrides
index 6529e90..b678141 100644
--- a/debian/source.lintian-overrides
+++ b/debian/source.lintian-overrides
@@ -1,22 +1,3 @@
-# The following files are wrongly interpreted as minimified
-# JavaScript by lintian, which is not the case.
-# cf. https://lists.debian.org/debian-med/2015/09/msg00135.html
-orthanc source: source-is-missing OrthancExplorer/libs/jquery.mobile.simpledialog2.js
-orthanc source: source-is-missing OrthancExplorer/libs/tree.jquery.js
-orthanc source: source-is-missing OrthancExplorer/libs/jquery.blockui.js
-orthanc source: source-is-missing debian/JS/DateJs/src/globalization/el-GR.js
-orthanc source: source-is-missing debian/JS/DateJs/src/globalization/gu-IN.js
-orthanc source: source-is-missing debian/JS/DateJs/src/globalization/hi-IN.js
-orthanc source: source-is-missing debian/JS/DateJs/src/globalization/ka-GE.js
-orthanc source: source-is-missing debian/JS/DateJs/src/globalization/kn-IN.js
-orthanc source: source-is-missing debian/JS/DateJs/src/globalization/kok-IN.js
-orthanc source: source-is-missing debian/JS/DateJs/src/globalization/mn-MN.js
-orthanc source: source-is-missing debian/JS/DateJs/src/globalization/mr-IN.js
-orthanc source: source-is-missing debian/JS/DateJs/src/globalization/sa-IN.js
-orthanc source: source-is-missing debian/JS/DateJs/src/globalization/ta-IN.js
-orthanc source: source-is-missing debian/JS/DateJs/src/globalization/te-IN.js
-orthanc source: source-is-missing debian/JS/DateJs/src/globalization/th-TH.js
-
 # The following lines are wrongly interpreted as minimified JavaScript
 # by lintian, as some of their lines contain more than 256 characters
 orthanc source: source-is-missing OrthancExplorer/libs/jquery.mobile.simpledialog2.js line length is 366 characters (>256)

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



More information about the debian-med-commit mailing list