[pyepr] 04/10: No longer parse the debian changelog
Antonio Valentino
a_valentino-guest at moszumanska.debian.org
Tue Aug 8 08:40:40 UTC 2017
This is an automated email from the git hooks/post-receive script.
a_valentino-guest pushed a commit to branch master
in repository pyepr.
commit 63491c58858e7f465f465be5e158401635ddc11a
Author: Antonio Valentino <antonio.valentino at tiscali.it>
Date: Tue Aug 8 07:23:09 2017 +0000
No longer parse the debian changelog
---
debian/changelog | 2 ++
debian/rules | 6 +++---
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 85109c0..026f154 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,8 @@ pyepr (0.9.3-2) UNRELEASED; urgency=medium
- remove un-necessary version specification
- update VCS URLs
- reformat using cme
+ * debian/rules
+ - no longer parse debian changelog (fix lintian warning)
-- Bas Couwenberg <sebastic at debian.org> Mon, 28 Mar 2016 16:49:32 +0200
diff --git a/debian/rules b/debian/rules
index f634b08..07c6541 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,9 +4,9 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-LAST_CHANGE=$(shell dpkg-parsechangelog -S Date)
-BUILD_DATE=$(shell LC_ALL=C date -u "+%B %d, %Y" -d "$(LAST_CHANGE)")
-SPHINXOPTS := -D today=\"$(BILD_DATE)\"
+include /usr/share/dpkg/pkg-info.mk
+BUILD_DATE="$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y-%m-%d)"
+SPHINXOPTS := -D today=\"$(BUILD_DATE)\"
SPHINXOPTS += -D html_last_updated_fmt=\"$(BUILD_DATE)\"
# Get the supported Python versions
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pyepr.git
More information about the Pkg-grass-devel
mailing list