summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHironori-Yamaji <52182908+Hironori-Yamaji@users.noreply.github.com>2019-07-13 01:45:19 +0900
committerTodd Gamblin <tgamblin@llnl.gov>2019-07-12 09:45:19 -0700
commit505ad8960e6d9760ef6b7fd28ce231ae57a207b5 (patch)
tree994e64fd4c7f1d7f1b4c415900275c5a854d58f7
parentcdc72963d1b8fff59a1f2e31ab47d2b64b506a31 (diff)
downloadspack-505ad8960e6d9760ef6b7fd28ce231ae57a207b5.tar.gz
spack-505ad8960e6d9760ef6b7fd28ce231ae57a207b5.tar.bz2
spack-505ad8960e6d9760ef6b7fd28ce231ae57a207b5.tar.xz
spack-505ad8960e6d9760ef6b7fd28ce231ae57a207b5.zip
jdk: Add the 'provides' call (#11997)
-rw-r--r--var/spack/repos/builtin/packages/jdk/package.py1
1 files changed, 1 insertions, 0 deletions
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')