[epubcheck] 01/01: Fix reproducibility
Eugene Zhukov
eugene at moszumanska.debian.org
Fri Jan 15 08:33:18 UTC 2016
This is an automated email from the git hooks/post-receive script.
eugene pushed a commit to branch master
in repository epubcheck.
commit 320570401f6d8f681ae489264a9cfd583ae7fa57
Author: Eugene Zhukov <eugene at debian.org>
Date: Fri Jan 15 08:33:02 2016 +0000
Fix reproducibility
---
debian/changelog | 3 ++-
debian/rules | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 43412e3..6e0da07 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,9 @@
epubcheck (4.0.1-2) UNRELEASED; urgency=medium
* d/watch: remove opts=dversionmangle
+ * d/rules: fix reproducibility
- -- Eugene Zhukov <eugene at debian.org> Mon, 14 Dec 2015 11:45:09 +0000
+ -- Eugene Zhukov <eugene at debian.org> Thu, 14 Jan 2016 10:25:05 +0000
epubcheck (4.0.1-1) unstable; urgency=medium
diff --git a/debian/rules b/debian/rules
index 7aa2d05..00e829a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,8 @@ include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/maven.mk
JAVA_HOME := /usr/lib/jvm/default-java
-DEB_MAVEN_ARGS := -Dmaven.build.timestamp=$(SOURCE_DATE_EPOCH)
+THE_DATE := $(shell date -d "$$(dpkg-parsechangelog -SDate)" +%Y-%m-%d)
+DEB_MAVEN_ARGS := -Dtool.build.date=$(THE_DATE)
binary-post-install/epubcheck::
mh_installjar -pepubcheck -l pom.xml target/epubcheck.jar
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/epubcheck.git
More information about the pkg-java-commits
mailing list