From c56d43735709cf7002e70d848e2abbec96a9fc18 Mon Sep 17 00:00:00 2001 From: Ruben Undheim Date: Fri, 13 Jul 2018 15:47:35 +0200 Subject: Lintian --- debian/rules | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 1955d22..0cc941d 100755 --- a/debian/rules +++ b/debian/rules @@ -2,6 +2,8 @@ #export DH_VERBOSE=1 +include /usr/share/dpkg/pkg-info.mk + # The build script crashes if "-pie" is given to the build command. Therefore # enabling the missing hardening options with LDFLAGS_MAINT_APPEND (together # with the --as-needed option) instead of with @@ -9,7 +11,7 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,now -Wl,--as-needed -CHANGELOG_DATE ?= $(shell date -d "`dpkg-parsechangelog --show-field Date`" +"%d %B %Y") +CHANGELOG_DATE ?= $(shell LC_ALL=C date -u -d @$(SOURCE_DATE_EPOCH) +"%d %B %Y") %: dh $@ --with autotools_dev,autoreconf -- cgit v1.2.3