Tony Mancill pushed to branch master at Debian Java Maintainers / opentest4j
Commits: 786267d1 by tony mancill at 2021-07-13T20:16:41-07:00 Apply patch for reproducible builds (Closes: #990839) - - - - - ab7cf9d8 by tony mancill at 2021-07-13T20:17:27-07:00 Use debhelper-compat 13 - - - - - 684049e6 by tony mancill at 2021-07-13T20:17:38-07:00 Bump Standards-Version to 4.5.1 - - - - - 1f7423b3 by tony mancill at 2021-07-13T20:18:06-07:00 Set Rules-Requires-Root: no in debian/control - - - - - 9416d791 by tony mancill at 2021-07-13T20:18:23-07:00 Freshen debian/copyright - - - - - 7887f9bc by tony mancill at 2021-07-13T21:08:48-07:00 Add build-dep on junit4 - - - - - 8a5e7a0d by tony mancill at 2021-07-13T21:08:48-07:00 Add debian/maven.rules to rewrite junit4 dependency - - - - - f8b1ab05 by tony mancill at 2021-07-13T21:18:59-07:00 Mark libopentest4j-java as Multi-Arch: foreign - - - - - 76dbb31c by tony mancill at 2021-07-13T21:18:59-07:00 Prepare changelog for upload to unstable - - - - - 6 changed files: - debian/changelog - debian/control - debian/copyright - + debian/maven.rules - + debian/patches/04-reproducible-builds-timestamp.patch - debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,17 @@ +opentest4j (1.2.0-3) unstable; urgency=medium + + * Team upload. + * Apply patch for reproducible builds (Closes: #990839) + * Use debhelper-compat 13 + * Bump Standards-Version to 4.5.1 + * Set Rules-Requires-Root: no in debian/control + * Freshen debian/copyright + * Add build-dep on junit4 + * Add debian/maven.rules to resolve junit4 dependency + * Mark libopentest4j-java as Multi-Arch: foreign + + -- tony mancill <[email protected]> Tue, 13 Jul 2021 21:06:46 -0700 + opentest4j (1.2.0-2) unstable; urgency=medium * Team upload. ===================================== debian/control ===================================== @@ -4,17 +4,20 @@ Priority: optional Maintainer: Debian Java Maintainers <[email protected]> Uploaders: Emmanuel Bourg <[email protected]> Build-Depends: - debhelper-compat (= 12), + debhelper-compat (= 13), default-jdk, gradle-debian-helper, + junit4, maven-repo-helper -Standards-Version: 4.4.1 +Standards-Version: 4.5.1 Vcs-Git: https://salsa.debian.org/java-team/opentest4j.git Vcs-Browser: https://salsa.debian.org/java-team/opentest4j Homepage: https://github.com/ota4j-team/opentest4j +Rules-Requires-Root: no Package: libopentest4j-java Architecture: all +Multi-Arch: foreign Depends: ${misc:Depends} Description: Open Test Alliance API Open source project to provide a minimal common foundation for testing ===================================== debian/copyright ===================================== @@ -10,7 +10,7 @@ Copyright: 2015-2019, Marc Philipp License: Apache-2.0 Files: debian/* -Copyright: 2019, Emmanuel Bourg +Copyright: 2019-2021, Emmanuel Bourg License: Apache-2.0 License: Apache-2.0 ===================================== debian/maven.rules ===================================== @@ -0,0 +1 @@ +junit junit * s/.*/4.x/ * * ===================================== debian/patches/04-reproducible-builds-timestamp.patch ===================================== @@ -0,0 +1,25 @@ +Add support for SOURCE_DATE_EPOCH to avoid embedding timestamp in .jar +file. + +https://reproducible-builds.org/docs/source-date-epoch/ + +Index: opentest4j/build.gradle +=================================================================== +--- opentest4j.orig/build.gradle ++++ opentest4j/build.gradle +@@ -9,7 +9,14 @@ plugins { + id 'signing' + } + +-Date buildTimeAndDate = new Date() ++// https://reproducible-builds.org/docs/source-date-epoch/ ++String source_date_epoch = System.getenv("SOURCE_DATE_EPOCH"); ++if (source_date_epoch != null) { ++ TimeZone.setDefault(TimeZone.getTimeZone("UTC")) ++} ++Date buildTimeAndDate = source_date_epoch == null ? ++ new Date() : ++ new Date(1000 * Long.parseLong(source_date_epoch)) + ext { + buildDate = new SimpleDateFormat('yyyy-MM-dd').format(buildTimeAndDate) + buildTime = new SimpleDateFormat('HH:mm:ss.SSSZ').format(buildTimeAndDate) ===================================== debian/patches/series ===================================== @@ -1,3 +1,4 @@ 01-ignore-versioning-plugin.patch 02-ignore-github-pages-plugin.patch 03-ignore-spotless-plugin.patch +04-reproducible-builds-timestamp.patch View it on GitLab: https://salsa.debian.org/java-team/opentest4j/-/compare/63077f3f0f393cf9ba2c8ebe22a11fc93e9febd5...76dbb31cc041da91c676dcfb7ac24257b0a33f1d -- View it on GitLab: https://salsa.debian.org/java-team/opentest4j/-/compare/63077f3f0f393cf9ba2c8ebe22a11fc93e9febd5...76dbb31cc041da91c676dcfb7ac24257b0a33f1d 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

