[med-svn] r23869 - trunk/packages/orthanc-webviewer/trunk/debian
Sebastien Jodogne
jodogne-guest at moszumanska.debian.org
Mon Jul 10 10:09:05 UTC 2017
Author: jodogne-guest
Date: 2017-07-10 10:09:05 +0000 (Mon, 10 Jul 2017)
New Revision: 23869
Modified:
trunk/packages/orthanc-webviewer/trunk/debian/control
trunk/packages/orthanc-webviewer/trunk/debian/rules
Log:
upgrade debian standards version
Modified: trunk/packages/orthanc-webviewer/trunk/debian/control
===================================================================
--- trunk/packages/orthanc-webviewer/trunk/debian/control 2017-07-10 10:04:03 UTC (rev 23868)
+++ trunk/packages/orthanc-webviewer/trunk/debian/control 2017-07-10 10:09:05 UTC (rev 23869)
@@ -4,7 +4,7 @@
Andreas Tille <tille at debian.org>
Section: science
Priority: optional
-Standards-Version: 3.9.8
+Standards-Version: 4.0.0
Build-Depends: cmake (>= 2.8),
debhelper (>= 9),
libboost-all-dev,
Modified: trunk/packages/orthanc-webviewer/trunk/debian/rules
===================================================================
--- trunk/packages/orthanc-webviewer/trunk/debian/rules 2017-07-10 10:04:03 UTC (rev 23868)
+++ trunk/packages/orthanc-webviewer/trunk/debian/rules 2017-07-10 10:09:05 UTC (rev 23869)
@@ -1,8 +1,9 @@
#!/usr/bin/make -f
+include /usr/share/dpkg/pkg-info.mk # To access the "DEB_VERSION" variable
+
export JAVASCRIPT_LIBS := Build/javascript-libs
-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 TARGET := libOrthancWebViewer.so
export DEB_BUILD_MAINT_OPTIONS := hardening=+all
More information about the debian-med-commit
mailing list