[mapproxy] 01/02: Fix SOURCE_DATE_EPOCH use.

Bas Couwenberg sebastic at debian.org
Mon Jun 26 19:05:32 UTC 2017


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

sebastic pushed a commit to branch master
in repository mapproxy.

commit 5abd08747be5a30f5545764174453a5ec3343d24
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Jun 26 20:49:17 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 a929fa5..14cb49d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+mapproxy (1.10.2-2) UNRELEASED; urgency=medium
+
+  * Fix SOURCE_DATE_EPOCH use.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Mon, 26 Jun 2017 20:49:06 +0200
+
 mapproxy (1.10.2-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/rules b/debian/rules
index 43d7206..326c051 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,7 @@ export PYBUILD_NAME=mapproxy
 
 include /usr/share/dpkg/pkg-info.mk
 
-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/mapproxy.git



More information about the Pkg-grass-devel mailing list