[Pkg-gnupg-commit] [gnupg1] 26/30: use pkg-info.mk for SOURCE_DATE_EPOCH

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Aug 2 06:35:15 UTC 2017


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch master
in repository gnupg1.

commit a4bddf4cc6d737bd9978dbe95be3a78ef91ee04f
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date:   Wed Aug 2 01:57:11 2017 -0400

    use pkg-info.mk for SOURCE_DATE_EPOCH
---
 debian/control | 1 +
 debian/rules   | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index d92e8a1..0b15012 100644
--- a/debian/control
+++ b/debian/control
@@ -11,6 +11,7 @@ Build-Depends:
  automake,
  debhelper (>= 10~),
  dh-exec,
+ dpkg-dev (>= 1.18.8~),
  file,
  gettext (>= 0.19.3),
  libbz2-dev,
diff --git a/debian/rules b/debian/rules
index 6ba54d5..6b3ebba 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,8 @@
 #!/usr/bin/make -f
 
+include /usr/share/dpkg/pkg-info.mk
+
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-export SOURCE_DATE_EPOCH = \
-       $(shell date -d "$$(dpkg-parsechangelog -c 1 -S Date)" +%s)
 
 %:
 	dh $@ --builddirectory=build-deb

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg1.git



More information about the Pkg-gnupg-commit mailing list