spack info: use spec fullname (#45753)
This commit is contained in:
parent
44ecea3813
commit
f42486b684
@ -502,7 +502,7 @@ def print_licenses(pkg, args):
|
|||||||
|
|
||||||
def info(parser, args):
|
def info(parser, args):
|
||||||
spec = spack.spec.Spec(args.package)
|
spec = spack.spec.Spec(args.package)
|
||||||
pkg_cls = spack.repo.PATH.get_pkg_class(spec.name)
|
pkg_cls = spack.repo.PATH.get_pkg_class(spec.fullname)
|
||||||
pkg = pkg_cls(spec)
|
pkg = pkg_cls(spec)
|
||||||
|
|
||||||
# Output core package information
|
# Output core package information
|
||||||
|
Loading…
Reference in New Issue
Block a user