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

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

commit 2d74384fbb30fb076c7fb75bf3b82473999e9260
Author: Bas Couwenberg <[email protected]>
Date:   Wed Sep 27 15:27:42 2017 +0200

    Use pkg-info.mk variables instead of dpkg-parsechangelog output.
---
 debian/changelog | 1 +
 debian/rules     | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index a54cb02..e5a5342 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ python-stetl (1.0.9+ds-2) UNRELEASED; urgency=medium
   * Add python3-sphinx to build dependencies.
   * Bump Standards-Version to 4.1.0, no changes.
   * Add autopkgtest to test installability.
+  * Use pkg-info.mk variables instead of dpkg-parsechangelog output.
 
  -- Bas Couwenberg <[email protected]>  Wed, 13 Jul 2016 14:50:57 +0200
 
diff --git a/debian/rules b/debian/rules
index 7b1c6ce..6b3541a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,9 @@
 
 export PYBUILD_NAME=stetl
 
-BUILD_DATE=$(shell dpkg-parsechangelog | sed -ne 's/^Date: //p' | LC_ALL=C 
date -u "+%d %B %Y" -f -)
+include /usr/share/dpkg/pkg-info.mk
+
+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/python-stetl.git

_______________________________________________
Pkg-grass-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to