Skip to content
Snippets Groups Projects
Commit 1f028edb authored by Gilles Filippini's avatar Gilles Filippini
Browse files

Fix timestamps side of reproducible builds

parent f320a736
No related branches found
No related tags found
No related merge requests found
jython (2.7.1+repack-7) UNRELEASED; urgency=medium
* Improve build reproducibility using dh_strip_nondeterminism and
SOURCE_DATE_EPOCH
-- Gilles Filippini <pini@debian.org> Sat, 10 Nov 2018 11:38:50 +0100
jython (2.7.1+repack-6) unstable; urgency=medium
* Team upload.
......
......@@ -3,7 +3,7 @@ Section: python
Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Uploaders: Jakub Adam <jakub.adam@ktknet.cz>, Gilles Filippini <pini@debian.org>
Build-Depends: debhelper (>= 10), dh-exec, ant, gawk, maven-repo-helper, javahelper, python, libjaxb-api-java
Build-Depends: debhelper (>= 10), dh-exec, ant, gawk, maven-repo-helper, javahelper, python, libjaxb-api-java, dh-strip-nondeterminism
Build-Depends-Indep: default-jdk,
dh-python,
junit4,
......
......@@ -71,6 +71,8 @@ override_dh_auto_build:
# Build the class files.
# -nouserlib is required to prevent conflicts with the ant jython plugin
ant -nouserlib developer-build jar javadoc \
-Dbuild.date="$(shell date -d @$(SOURCE_DATE_EPOCH) "+%b %d %Y")" \
-Dbuild.time="$(shell date -d @$(SOURCE_DATE_EPOCH) "+%H:%M:%S")" \
-Dmain.classpath=$(OUR_MAIN_CLASSPATH) \
-Dtest.classpath=$(OUR_TEST_CLASSPATH) \
-Druntime.classpath="$(OUR_RUNTIME_CLASSPATH)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment