[vim] 12/20: rules: Remove explicit setting of SOURCE_DATE_EPOCH

James McCoy jamessan at debian.org
Sun Aug 13 20:08:39 UTC 2017


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

jamessan pushed a commit to branch debian/sid
in repository vim.

commit 3e18a5fbb341169f5c4eb13d726efd0b01d5de1a
Author: James McCoy <jamessan at debian.org>
Date:   Sun Aug 13 12:03:14 2017 -0400

    rules: Remove explicit setting of SOURCE_DATE_EPOCH
    
    Ensure we're building with a recent enough dpkg-dev so pkg-info.mk
    provides (and exports) SOURCE_DATE_EPOCH for us.
    
    Signed-off-by: James McCoy <jamessan at debian.org>
---
 debian/changelog | 2 ++
 debian/control   | 2 ++
 debian/rules     | 2 --
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 127569c..f367be8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,8 @@ vim (2:8.0.0923-1) UNRELEASED; urgency=medium
     + Disable ruby for vim-gtk3
   * d/rules:
     + Remove src/po/vim.pot and *.pyc during clean
+    + Remove explicit setting of SOURCE_DATE_EPOCH since dpkg's pkg-info.mk
+      provides it.
   * debcontrol.vim:
     + Add highlighting for Build-(Depends|Conflicts)-Arch
     + Fix syntax highlighting of "javascript" section.  (Closes: #867307)
diff --git a/debian/control b/debian/control
index aee2831..c24a779 100644
--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,8 @@ Standards-Version: 4.0.1
 Build-Depends:
  autoconf,
  debhelper (>= 9.20160114),
+# SOURCE_DATE_EPOCH provided by pkg-info.mk
+ dpkg-dev (>= 1.18.8),
  libacl1-dev,
  libgpmg1-dev [linux-any],
  libgtk-3-dev,
diff --git a/debian/rules b/debian/rules
index fbf2419..c37bbc1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,8 +21,6 @@ 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