[gmt] 01/02: Fix SOURCE_DATE_EPOCH use.

Bas Couwenberg sebastic at debian.org
Mon Jun 26 19:25:29 UTC 2017


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

sebastic pushed a commit to branch master
in repository gmt.

commit 3695b789e15b3efad1e44611161cf5072946b1e5
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Jun 26 19:39:05 2017 +0200

    Fix SOURCE_DATE_EPOCH use.
---
 debian/changelog | 6 ++++++
 debian/rules     | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 5e626ac..61931e1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+gmt (5.4.1+dfsg-3) UNRELEASED; urgency=medium
+
+  * Fix SOURCE_DATE_EPOCH use.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Mon, 26 Jun 2017 19:38:50 +0200
+
 gmt (5.4.1+dfsg-2) unstable; urgency=medium
 
   * Add patch by John Paul Adrian Glaubitz for m68k support.
diff --git a/debian/rules b/debian/rules
index fde5d1c..3a491a4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,7 @@ endif
 
 UPSTREAM_VERSION=$(shell echo $(DEB_VERSION_UPSTREAM) | sed -e 's/\+.*//')
 
-BUILD_DATE=$(shell $(SOURCE_DATE_EPOCH) | LC_ALL=C date -u "+%d %B %Y" -f -)
+BUILD_DATE=$(shell LC_ALL=C date -u "+%d %B %Y" -d "@$(SOURCE_DATE_EPOCH)")
 
 MANPAGES:=$(wildcard debian/man/*.*.xml)
 

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



More information about the Pkg-grass-devel mailing list