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

This commit is contained in:
Peter Josef Scheibel
2021-04-29 10:12:02 -07:00
committed by Todd Gamblin
parent d82a0c6799
commit 320eb4872d
3 changed files with 20 additions and 1 deletions

View File

@@ -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')