[jtreg] 06/07: Replaced the timestamp in the manifest with the date from d/changelog to make the build reproducible

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Jun 18 16:40:38 UTC 2015


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

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

commit ef5a5788df39891cefeb05fd534336d18424b2d2
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Jun 18 18:27:59 2015 +0200

    Replaced the timestamp in the manifest with the date from d/changelog to make the build reproducible
---
 debian/changelog | 2 ++
 debian/rules     | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 29a6c00..d0bfa51 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ jtreg (4.1-b12-1) UNRELEASED; urgency=medium
   * New upstream release
     - Refreshed the patches
     - Updated the path of the installed files
+  * Changed the value of the jtreg-BuildDate attribute in the manifest
+    with the date from debian/changelog to make the build reproducible.
   * Standards-Version updated to 3.9.6 (no changes)
   * Fixed debian/watch
 
diff --git a/debian/rules b/debian/rules
index 852c988..aaab69f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,7 @@ JAVA_HOME = /usr/lib/jvm/default-java
 
 VERSION      := $(shell dpkg-parsechangelog --show-field Version | sed 's/-.*//')
 BUILD_NUMBER := $(shell dpkg-parsechangelog --show-field Version | sed 's/.*-\(b[0-9]*\).*/\1/')
+DATE         := $(shell dpkg-parsechangelog --show-field Date)
 
 override_dh_auto_build:
 	ant -f make/build.xml \
@@ -14,6 +15,7 @@ override_dh_auto_build:
 	    -Djunit.jar=/usr/share/java/junit4.jar \
 	    -Dtestng.jar=/usr/share/java/testng.jar \
 	    -Djavatest.jar=/usr/share/java/javatest.jar \
+	    -Dbuild.date.time='$(DATE)' \
 	    -Dbuild.version=$(VERSION) \
 	    -Dbuild.milestone=src \
 	    -Dbuild.number=$(BUILD_NUMBER)

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



More information about the pkg-java-commits mailing list