[libapache-poi-java] 01/02: Use the date of the changelog as the release date in Version.java

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue Apr 28 16:49:05 UTC 2015


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

ebourg-guest pushed a commit to branch master
in repository libapache-poi-java.

commit 4cd51dc8aefe93189c9ad1938432cc7fe98bdfbf
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Tue Apr 28 16:04:05 2015 +0200

    Use the date of the changelog as the release date in Version.java
---
 debian/changelog | 6 ++++++
 debian/rules     | 4 +++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 81122f3..d1eb8a0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libapache-poi-java (3.10.1-3) UNRELEASED; urgency=medium
+
+  * Use the date of the changelog as the release date in Version.java
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Tue, 28 Apr 2015 16:03:19 +0200
+
 libapache-poi-java (3.10.1-2) unstable; urgency=medium
 
   * Fixed CVE-2014-9527: Infinite loop on corrupted PPT file (Closes: #775171)
diff --git a/debian/rules b/debian/rules
index 80f353c..21a0b2c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,8 +17,10 @@ DEB_JARS := ant ant-junit ant-junit4
 DEB_ANT_BUILD_TARGET := jar maven-poms javadocs
 DEB_ANT_CHECK_TARGET := test
 #DEB_INSTALL_CHANGELOGS_ALL := RELEASE-NOTES.txt
+DEB_CHANGELOG_DATETIME = $(shell dpkg-parsechangelog --show-field Date)
+DSTAMP = $(shell date '--date=$(DEB_CHANGELOG_DATETIME)' +%Y%m%d)
 
-ANT_ARGS := -Dversion.id=$(VERSION)
+ANT_ARGS := -Dversion.id=$(VERSION) -DDSTAMP=$(DSTAMP)
 
 clean::
 	mh_clean

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libapache-poi-java.git



More information about the pkg-java-commits mailing list