[vim] 06/07: Set $SOURCE_DATE_EPOCH according to debian/changelog
James McCoy
jamessan at debian.org
Tue Mar 29 05:07:06 UTC 2016
This is an automated email from the git hooks/post-receive script.
jamessan pushed a commit to branch debian/sid
in repository vim.
commit 61d421b3169ea8288c7af5e7c6f11ac80932cba8
Author: James McCoy <jamessan at debian.org>
Date: Mon Mar 28 22:45:12 2016 -0400
Set $SOURCE_DATE_EPOCH according to debian/changelog
Signed-off-by: James McCoy <jamessan at debian.org>
---
debian/changelog | 3 +++
debian/rules | 2 ++
2 files changed, 5 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 700bcfc..a77a5e9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,9 @@ vim (2:7.4.1683-1) UNRELEASED; urgency=medium
- 7.4.1578: Support running a function on a periodic basis with the
timer_start()/timer_start() functions.
* Add a vim-gtk3 package. (Closes: #815750)
+ * Improve reproducibility of Vim builds. (Closes: #787327)
+ + Use $SOURCE_DATE_EPOCH to set the compilation time displayed in :version
+ + Set a static value for configure's --with-compiledby argument
-- James McCoy <jamessan at debian.org> Mon, 28 Mar 2016 21:14:49 -0400
diff --git a/debian/rules b/debian/rules
index ef2be5b..76fba3c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -38,6 +38,8 @@ ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
MAKEFLAGS += -j$(NUMJOBS)
endif
+export SOURCE_DATE_EPOCH = $(shell date -d "$$(dpkg-parsechangelog -SDate)" +%s)
+
CFGFLAGS := --prefix=/usr --mandir='$${prefix}'/share/man --without-local-dir
CFGFLAGS += --with-modified-by="$(BUILDER)"
CFGFLAGS += --with-compiledby="$(BUILDER)"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vim/vim.git
More information about the pkg-vim-maintainers
mailing list