[pdal] 01/03: Fix SOURCE_DATE_EPOCH use.

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


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

sebastic pushed a commit to branch master
in repository pdal.

commit f5f340a3156c1692c06b7c0b69ab0d16daa89404
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Jun 26 21:22:52 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 67396d7..66162db 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+pdal (1.5.0-3) UNRELEASED; urgency=medium
+
+  * Fix SOURCE_DATE_EPOCH use.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Mon, 26 Jun 2017 21:22:38 +0200
+
 pdal (1.5.0-2) unstable; urgency=medium
 
   * Bump Standards-Version to 4.0.0, no changes.
diff --git a/debian/rules b/debian/rules
index 6889e1c..0f25686 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@ CXXFLAGS += $(CPPFLAGS)
 
 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/pdal.git



More information about the Pkg-grass-devel mailing list