[Python-modules-commits] [vcr.py] 01/04: Replace usage of dpkg-parsechangelog with $SOURCE_DATE_EPOCH
Daniele Tricoli
eriol-guest at moszumanska.debian.org
Tue Sep 12 00:36:58 UTC 2017
This is an automated email from the git hooks/post-receive script.
eriol-guest pushed a commit to branch master
in repository vcr.py.
commit bc24ffc9160b41398b38e17b2fba9087994e9de3
Author: Daniele Tricoli <eriol at mornie.org>
Date: Tue Sep 12 01:02:59 2017 +0200
Replace usage of dpkg-parsechangelog with $SOURCE_DATE_EPOCH
---
debian/rules | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index f6f9807..60eefd6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,8 +8,7 @@ export https_proxy=
include /usr/share/dpkg/pkg-info.mk
-LAST_CHANGE = $(shell dpkg-parsechangelog -S Date)
-BUILD_DATE = $(shell LC_ALL=C date -u "+%B %d, %Y" -d "$(LAST_CHANGE)")
+BUILD_DATE = $(shell LC_ALL=C date -u "+%B %d, %Y" -d "@$(SOURCE_DATE_EPOCH)")
SPHINXOPTS := -D html_last_updated_fmt="$(BUILD_DATE)"
%:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/vcr.py.git
More information about the Python-modules-commits
mailing list