Modify Spec.short_spec to remove compiler info
This commit is contained in:
parent
b6ce34607e
commit
df464681bf
@ -2049,9 +2049,7 @@ def traverse_edges(
|
|||||||
def short_spec(self):
|
def short_spec(self):
|
||||||
"""Returns a version of the spec with the dependencies hashed
|
"""Returns a version of the spec with the dependencies hashed
|
||||||
instead of completely enumerated."""
|
instead of completely enumerated."""
|
||||||
spec_format = "{name}{@version}{%compiler.name}{@compiler.version}"
|
return self.format("{name}{@version} {variants}{ arch=architecture}{/hash:7}")
|
||||||
spec_format += "{variants}{ arch=architecture}{/hash:7}"
|
|
||||||
return self.format(spec_format)
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def cshort_spec(self):
|
def cshort_spec(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user