use {%compiler.name}{@compiler.version} in matching_specs (#39247)
This commit is contained in:
parent
f6104cc3cb
commit
7bd5d1fd3c
@ -291,7 +291,7 @@ def ensure_single_spec_or_die(spec, matching_specs):
|
|||||||
if len(matching_specs) <= 1:
|
if len(matching_specs) <= 1:
|
||||||
return
|
return
|
||||||
|
|
||||||
format_string = "{name}{@version}{%compiler}{arch=architecture}"
|
format_string = "{name}{@version}{%compiler.name}{@compiler.version}{arch=architecture}"
|
||||||
args = ["%s matches multiple packages." % spec, "Matching packages:"]
|
args = ["%s matches multiple packages." % spec, "Matching packages:"]
|
||||||
args += [
|
args += [
|
||||||
colorize(" @K{%s} " % s.dag_hash(7)) + s.cformat(format_string) for s in matching_specs
|
colorize(" @K{%s} " % s.dag_hash(7)) + s.cformat(format_string) for s in matching_specs
|
||||||
|
Loading…
Reference in New Issue
Block a user