Gilles Filippini pushed to branch master at Debian Java Maintainers / jython


Commits:
1f028edb by Gilles Filippini at 2018-11-10T17:48:27Z
Fix timestamps side of reproducible builds

- - - - -


3 changed files:

- debian/changelog
- debian/control
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+jython (2.7.1+repack-7) UNRELEASED; urgency=medium
+
+  * Improve build reproducibility using dh_strip_nondeterminism and
+    SOURCE_DATE_EPOCH
+
+ -- Gilles Filippini <[email protected]>  Sat, 10 Nov 2018 11:38:50 +0100
+
 jython (2.7.1+repack-6) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/control
=====================================
@@ -3,7 +3,7 @@ Section: python
 Priority: optional
 Maintainer: Debian Java Maintainers 
<[email protected]>
 Uploaders: Jakub Adam <[email protected]>, Gilles Filippini 
<[email protected]>
-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,


=====================================
debian/rules
=====================================
@@ -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)"



View it on GitLab: 
https://salsa.debian.org/java-team/jython/commit/1f028edbcf44e027f6fb210c2bc586359bae6b98

-- 
View it on GitLab: 
https://salsa.debian.org/java-team/jython/commit/1f028edbcf44e027f6fb210c2bc586359bae6b98
You're receiving this email because of your account on salsa.debian.org.
_______________________________________________
pkg-java-commits mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to