summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorPeter Josef Scheibel <scheibel1@llnl.gov>2021-04-29 10:12:02 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2021-05-07 10:07:53 -0700
commit320eb4872d1c2e776948786a344f403754261389 (patch)
treed357ebb5b38597ec8166e8cad131a7159fa99761 /var
parentd82a0c6799878be5a09242be8af9e5acbdc285cf (diff)
downloadspack-320eb4872d1c2e776948786a344f403754261389.tar.gz
spack-320eb4872d1c2e776948786a344f403754261389.tar.bz2
spack-320eb4872d1c2e776948786a344f403754261389.tar.xz
spack-320eb4872d1c2e776948786a344f403754261389.zip
fix check when retrieving matching spec from environment when there is a match with a root spec as well as with a dependency of a root spec
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin.mock/packages/b/package.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin.mock/packages/b/package.py b/var/spack/repos/builtin.mock/packages/b/package.py
index 2ddc30f69b..24190d4b7e 100644
--- a/var/spack/repos/builtin.mock/packages/b/package.py
+++ b/var/spack/repos/builtin.mock/packages/b/package.py
@@ -13,5 +13,6 @@ class B(Package):
url = "http://www.example.com/b-1.0.tar.gz"
version('1.0', '0123456789abcdef0123456789abcdef')
+ version('0.9', 'abcd456789abcdef0123456789abcdef')
depends_on('test-dependency', type='test')