[tomcat8] 01/03: Set the 'year' and 'today-iso-8601' build variables to improve the reproducibility

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue May 26 15:23:58 UTC 2015


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

ebourg-guest pushed a commit to branch master
in repository tomcat8.

commit ae569db2a46810bf90dfc51184a27d26f16fb47c
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Tue May 26 15:54:11 2015 +0200

    Set the 'year' and 'today-iso-8601' build variables to improve the reproducibility
---
 debian/changelog | 7 +++++++
 debian/rules     | 2 ++
 2 files changed, 9 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index d48da69..b48d191 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+tomcat8 (8.0.22-3) UNRELEASED; urgency=medium
+
+  * debian/rules: Set the 'year' and 'today-iso-8601' build variables
+    to improve the reproducibility
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Tue, 26 May 2015 15:51:49 +0200
+
 tomcat8 (8.0.22-2) unstable; urgency=medium
 
   * Replaced the date in ServerInfo.properties with the latest date
diff --git a/debian/rules b/debian/rules
index 9474099..266db4e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,9 @@ BLDLIB    := output/build/lib
 VERSION   := $(shell dpkg-parsechangelog --show-field Version | sed 's/-[^-]*$$//' | sed 's/~/-/')
 DATE      := $(shell dpkg-parsechangelog --show-field Date)
 ANT       := ant -propertyfile debian/ant.properties \
+             -Dyear=$(shell date --date='$(DATE)' --utc +'%Y') \
              -Dtoday='$(shell date --date='$(DATE)' --utc +'%b %-d %Y')' \
+             -Dtoday-iso-8601=$(shell date --date='$(DATE)' --utc +'%F') \
              -Dtstamp=$(shell date --date='$(DATE)' --utc +%H:%M:%S) \
              -Ddistribution.name=$(shell lsb_release -si)
 

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



More information about the pkg-java-commits mailing list