From a0a3e5db3b466891daa2aa7aa580a0e6858b221e Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 8 Aug 2024 00:49:56 +0000 Subject: [PATCH] opensearch 2.16.0 opensearch: remove patch Signed-off-by: Patrick Linnane --- Formula/o/opensearch.rb | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/Formula/o/opensearch.rb b/Formula/o/opensearch.rb index 4810898984d76..ff277ea5d68ad 100644 --- a/Formula/o/opensearch.rb +++ b/Formula/o/opensearch.rb @@ -1,8 +1,8 @@ class Opensearch < Formula desc "Open source distributed and RESTful search engine" homepage "https://github.com/opensearch-project/OpenSearch" - url "https://github.com/opensearch-project/OpenSearch/archive/refs/tags/2.15.0.tar.gz" - sha256 "047f0c26ec3ae54f6b0213d7191c346290c9d4ac2b8a6d21b0d947f9d36b83a6" + url "https://github.com/opensearch-project/OpenSearch/archive/refs/tags/2.16.0.tar.gz" + sha256 "a97926572ab790dc9e3af4075c957bd2225fd9dfb22fcdbc66073bd7c024c1c2" license "Apache-2.0" bottle do @@ -18,9 +18,6 @@ class Opensearch < Formula depends_on "gradle" => :build depends_on "openjdk" - # upstream patch PR, https://github.com/opensearch-project/OpenSearch/pull/14182 - patch :DATA - def install platform = OS.kernel_name.downcase platform += "-arm64" if Hardware::CPU.arm? @@ -109,18 +106,3 @@ def caveats system bin/"opensearch-plugin", "list" end end - -__END__ -diff --git a/buildSrc/src/main/java/org/opensearch/gradle/info/GlobalBuildInfoPlugin.java b/buildSrc/src/main/java/org/opensearch/gradle/info/GlobalBuildInfoPlugin.java -index 448ba8a..669a67e 100644 ---- a/buildSrc/src/main/java/org/opensearch/gradle/info/GlobalBuildInfoPlugin.java -+++ b/buildSrc/src/main/java/org/opensearch/gradle/info/GlobalBuildInfoPlugin.java -@@ -199,7 +199,7 @@ public class GlobalBuildInfoPlugin implements Plugin { - } - - private JvmInstallationMetadata getJavaInstallation(File javaHome) { -- final InstallationLocation location = new InstallationLocation(javaHome, "Java home"); -+ final InstallationLocation location = InstallationLocation.userDefined(javaHome, "Java home"); - - try { - try {