From e286829bf7ecb2bc7dbdde8dd47819134f7ee693 Mon Sep 17 00:00:00 2001 From: Jonathan McCrohan Date: Thu, 30 Jul 2020 00:24:49 +0100 Subject: Migrate from dpkg-parsechangelog to /usr/share/dpkg/pkg-info.mk --- debian/changelog | 2 ++ debian/rules | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 8d32efb..7ba03a8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,8 @@ wavemon (0.9.1-1) UNRELEASED; urgency=medium - Build-Depend on debhelper-compat (= 13) instead * d/control: bump Standards-Version to 4.5.0 - Add Rules-Requires-Root: no + * d/rules: Migrate from dpkg-parsechangelog to + /usr/share/dpkg/pkg-info.mk -- Jonathan McCrohan Wed, 29 Jul 2020 23:12:28 +0100 diff --git a/debian/rules b/debian/rules index 1105481..c002621 100755 --- a/debian/rules +++ b/debian/rules @@ -1,10 +1,10 @@ #!/usr/bin/make -f +include /usr/share/dpkg/pkg-info.mk + export DEB_CFLAGS_MAINT_APPEND=-pthread -I/usr/include/libnl3 export DEB_BUILD_MAINT_OPTIONS=hardening=+all -export BUILD_DATE = $(shell LC_ALL=C date -u --date="`dpkg-parsechangelog -SDate`") - %: dh $@ -- cgit v1.2.3