[mapproxy] 06/07: Use pkg-info.mk variables instead of dpkg-parsechangelog output.
Bas Couwenberg
sebastic at debian.org
Wed Jun 21 16:53:04 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 244fc09f2adae97cb7c88baf04c6a015abc41b5e
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Wed Jun 21 18:33:24 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 b6d925b..f756f6b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ mapproxy (1.10.2-1) UNRELEASED; urgency=medium
* New upstream release.
* Bump Standards-Version to 4.0.0, no changes.
* Add autopkgtest to test installability.
+ * Use pkg-info.mk variables instead of dpkg-parsechangelog output.
-- Bas Couwenberg <sebastic at debian.org> Wed, 21 Jun 2017 18:02:59 +0200
diff --git a/debian/rules b/debian/rules
index c1bf0c8..43d7206 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,9 @@
export PYBUILD_NAME=mapproxy
-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 echo $(SOURCE_DATE_EPOCH) | LC_ALL=C date -u "+%d %B %Y" -f -)
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