From 505ad8960e6d9760ef6b7fd28ce231ae57a207b5 Mon Sep 17 00:00:00 2001 From: Hironori-Yamaji <52182908+Hironori-Yamaji@users.noreply.github.com> Date: Sat, 13 Jul 2019 01:45:19 +0900 Subject: [PATCH] jdk: Add the 'provides' call (#11997) --- var/spack/repos/builtin/packages/jdk/package.py | 1 + 1 file changed, 1 insertion(+) diff --git a/var/spack/repos/builtin/packages/jdk/package.py b/var/spack/repos/builtin/packages/jdk/package.py index 807afcfab1..70f84a4b99 100644 --- a/var/spack/repos/builtin/packages/jdk/package.py +++ b/var/spack/repos/builtin/packages/jdk/package.py @@ -62,6 +62,7 @@ class Jdk(Package): version('1.7.0_80-b0', '6152f8a7561acf795ca4701daa10a965', curl_options=curl_options) provides('java') + provides('java@12', when='@12.0:12.999') provides('java@11', when='@11.0:11.999') provides('java@10', when='@10.0:10.999') provides('java@9', when='@9.0:9.999')