Date: Wednesday, November 16, 2022 @ 14:53:15 Author: hashworks Revision: 1349127
upgpkg: opensearch-anomaly-detection-plugin 2.4.0.0-1 Deleted: opensearch-anomaly-detection-plugin/trunk/0001-Add-support-for-reproducible-builds.patch ------------------------------------------------+ 0001-Add-support-for-reproducible-builds.patch | 34 ----------------------- 1 file changed, 34 deletions(-) Deleted: 0001-Add-support-for-reproducible-builds.patch =================================================================== --- 0001-Add-support-for-reproducible-builds.patch 2022-11-16 14:51:37 UTC (rev 1349126) +++ 0001-Add-support-for-reproducible-builds.patch 2022-11-16 14:53:15 UTC (rev 1349127) @@ -1,34 +0,0 @@ -From 960128ff72572dca864a600719b16d0cf6396e45 Mon Sep 17 00:00:00 2001 -From: Leonidas Spyropoulos <[email protected]> -Date: Tue, 21 Jun 2022 09:56:50 +0100 -Subject: [PATCH] Add support for reproducible builds - -As per gradle [docs] add support to remove timestamps and package with same order which is required from -[reproducible] builds - -[docs]: https://docs.gradle.org/current/userguide/working_with_files.html#sec:archives -[reproducible]: https://reproducible-builds.org/ - -Signed-off-by: Leonidas Spyropoulos <[email protected]> ---- - build.gradle | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/build.gradle b/build.gradle -index 613a6be..f09d01e 100644 ---- a/build.gradle -+++ b/build.gradle -@@ -74,6 +74,10 @@ tasks.withType(Test) { - tasks.withType(Javadoc) { - options.encoding = 'UTF-8' - } -+tasks.withType(AbstractArchiveTask).configureEach { -+ preserveFileTimestamps = false -+ reproducibleFileOrder = true -+} - - repositories { - mavenLocal() --- -2.36.1 -
