From 8b9f4d53da2ec019039bb549ab0297f96c1f46de Mon Sep 17 00:00:00 2001 From: darmac Date: Wed, 13 Jan 2021 16:52:00 +0800 Subject: [PATCH] solr: add java as runtime dependency (#20827) --- var/spack/repos/builtin/packages/solr/package.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/var/spack/repos/builtin/packages/solr/package.py b/var/spack/repos/builtin/packages/solr/package.py index 85d1f18540..16ef667bdd 100644 --- a/var/spack/repos/builtin/packages/solr/package.py +++ b/var/spack/repos/builtin/packages/solr/package.py @@ -17,6 +17,8 @@ class Solr(Package): list_url = "https://archive.apache.org/dist/lucene/solr" list_depth = 1 + depends_on('java', type='run') + version('8.6.0', sha256='4519ccdb531619df770f1065db6adcedc052c7aa94b42806d541966550956aa5') version('8.5.2', sha256='c457d6c7243241cad141e1df34c6f669d58a6c60e537f4217d032616dd066dcf') version('8.5.1', sha256='47b68073b37bbcc0517a355ef722f20827c3f1416537ebbccf5239dda8064a0b')