[python-shapely] 01/02: Fix SOURCE_DATE_EPOCH use.

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


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

sebastic pushed a commit to branch master
in repository python-shapely.

commit 1cad3c2d2974d13cb180102c96e65a96a2fbbddc
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Jun 26 21:27:09 2017 +0200

    Fix SOURCE_DATE_EPOCH use.
---
 debian/changelog | 6 ++++++
 debian/rules     | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f8df729..7b89b6e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+python-shapely (1.6~b4-1~exp3) UNRELEASED; urgency=medium
+
+  * Fix SOURCE_DATE_EPOCH use.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Mon, 26 Jun 2017 21:26:57 +0200
+
 python-shapely (1.6~b4-1~exp2) experimental; urgency=medium
 
   * Bump Standards-Version to 4.0.0, no changes.
diff --git a/debian/rules b/debian/rules
index f6a1a3b..a5f51d4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,9 +12,9 @@ export LC_ALL=C.UTF-8
 
 include /usr/share/dpkg/pkg-info.mk
 
-BUILD_DATE := $(shell $(SOURCE_DATE_EPOCH) | LC_ALL=C date -u "+%B %d, %Y" -f -)
+BUILD_DATE := $(shell LC_ALL=C date -u "+%B %d, %Y" -d "@$(SOURCE_DATE_EPOCH)")
 
-SPHINXOPTS := -D today=\"$(BILD_DATE)\"
+SPHINXOPTS := -D today=\"$(BUILD_DATE)\"
 SPHINXOPTS += -D html_last_updated_fmt=\"$(BUILD_DATE)\"
 
 %:

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



More information about the Pkg-grass-devel mailing list