Tony Mancill pushed to branch master at Debian Java Maintainers / apiguardian
Commits: 21f42251 by tony mancill at 2021-07-12T21:08:05-07:00 Apply patch for reproducible builds (Closes: #990840) - - - - - f98f81de by tony mancill at 2021-07-13T19:59:59-07:00 Use debhelper-compat 13 - - - - - 0857d5fb by tony mancill at 2021-07-13T20:00:31-07:00 Bump Standards-Version to 4.5.1 - - - - - d8f278ac by tony mancill at 2021-07-13T20:00:48-07:00 Set Rules-Requires-Root: no in debian/control - - - - - 21bbf009 by tony mancill at 2021-07-13T20:01:07-07:00 Freshen debian/copyright - - - - - cbde47a5 by tony mancill at 2021-07-13T20:01:41-07:00 Prepare changelog for upload to unstable - - - - - 5 changed files: - debian/changelog - debian/control - debian/copyright - + debian/patches/03-reproducible-builds-timestamp.patch - debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,14 @@ +apiguardian (1.1.0-3) unstable; urgency=medium + + * Team upload. + * Apply patch for reproducible builds (Closes: #990840) + * Use debhelper-compat 13 + * Bump Standards-Version to 4.5.1 + * Set Rules-Requires-Root: no in debian/control + * Freshen debian/copyright + + -- tony mancill <[email protected]> Tue, 13 Jul 2021 20:01:12 -0700 + apiguardian (1.1.0-2) unstable; urgency=medium * Team upload. ===================================== debian/control ===================================== @@ -4,14 +4,15 @@ 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, maven-repo-helper -Standards-Version: 4.4.1 +Standards-Version: 4.5.1 Vcs-Git: https://salsa.debian.org/java-team/apiguardian.git Vcs-Browser: https://salsa.debian.org/java-team/apiguardian Homepage: https://github.com/apiguardian-team/apiguardian +Rules-Requires-Root: no Package: libapiguardian-java Architecture: all ===================================== debian/copyright ===================================== @@ -10,7 +10,7 @@ Copyright: 2017-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/patches/03-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: apiguardian/build.gradle +=================================================================== +--- apiguardian.orig/build.gradle ++++ apiguardian/build.gradle +@@ -8,7 +8,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,2 +1,3 @@ 01-ignore-versioning-plugin.patch 02-ignore-github-pages-plugin.patch +03-reproducible-builds-timestamp.patch View it on GitLab: https://salsa.debian.org/java-team/apiguardian/-/compare/26a59963fcd0e9938c2814f7b35ca1f20746cba2...cbde47a578e12e214579660acbc139bccebd0b34 -- View it on GitLab: https://salsa.debian.org/java-team/apiguardian/-/compare/26a59963fcd0e9938c2814f7b35ca1f20746cba2...cbde47a578e12e214579660acbc139bccebd0b34 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

