diff options
-rw-r--r-- | debian/changelog | 3 | ||||
-rwxr-xr-x | debian/rules | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog index a6775df..adf4d59 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,9 @@ argyll (1.9.2+repack-2) UNRELEASED; urgency=medium * debian/control: - Remove dh-autoreconf. + Not longer needed since debhelper compatibility level > 10. + * debian/rules: + - Replace dpkg-parsechangelog with SOURCE_DATE_EPOCH to prevent + lintian warning. * New patch 0130_openssl.patch: - Enable all ssl connections since openssl provides only connetions with TLS1.2 or greater (Closes: #871427). diff --git a/debian/rules b/debian/rules index 85ab4d3..6f743b7 100755 --- a/debian/rules +++ b/debian/rules @@ -3,6 +3,8 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +include /usr/share/dpkg/pkg-info.mk + export DH_OPTIONS # hardening @@ -11,8 +13,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all NO_PROC=$(shell cat /proc/cpuinfo | grep processor | wc -l) JAMCMDLINE = -q -fJambase -j$(NO_PROC) -sPREFIX=/usr -sDESTDIR=$(CURDIR)/debian/tmp -sREFSUBDIR=share/color/argyll/ref -CHDATE=$(shell dpkg-parsechangelog -S Date) -CRDATE=$(shell LC_ALL=C date --utc -d "$(CHDATE)" "+%a %b %d %T %Y") +CRDATE=$(shell LC_ALL=C date --utc --date='@$(SOURCE_DATE_EPOCH)' "+%a %b %d %T %Y") %: dh $@ |