Merge remote-tracking branch 'upstream/develop' into develop

This commit is contained in:
Jim Galarowicz
2017-01-11 09:05:00 -08:00

View File

@@ -104,6 +104,9 @@ def get_matching_versions(specs, **kwargs):
s = Spec(pkg.name) s = Spec(pkg.name)
s.versions = VersionList([v]) s.versions = VersionList([v])
s.variants = spec.variants.copy() s.variants = spec.variants.copy()
# This is needed to avoid hanging references during the
# concretization phase
s.variants.spec = s
matching_spec.append(s) matching_spec.append(s)
if not matching_spec: if not matching_spec: