Modify Spec.short_spec to remove compiler info
This commit is contained in:
parent
040b827dad
commit
5260acc53b
@ -2116,9 +2116,7 @@ def long_spec(self):
|
|||||||
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