[routino] 01/02: Fix SOURCE_DATE_EPOCH use.

Bas Couwenberg sebastic at debian.org
Mon Jun 26 19:52:09 UTC 2017


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

sebastic pushed a commit to branch master
in repository routino.

commit b9b8a9add4a925ee9ab62ebca1241722afbfaa3c
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Jun 26 21:43:19 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 5238b38..4ce4a5d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+routino (3.2-2) UNRELEASED; urgency=medium
+
+  * Fix SOURCE_DATE_EPOCH use.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Mon, 26 Jun 2017 21:43:10 +0200
+
 routino (3.2-1) unstable; urgency=medium
 
   * Bump Standards-Version to 4.0.0, no changes.
diff --git a/debian/rules b/debian/rules
index 5b904c7..faeea34 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,7 +13,7 @@ include /usr/share/dpkg/pkg-info.mk
 
 UPSTREAM_VERSION=$(shell echo ${DEB_VERSION_UPSTREAM} | sed -e 's/\+.*//')
 
-BUILD_DATE=$(shell echo ${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/routino.git



More information about the Pkg-grass-devel mailing list