Normalize requires for '--target plain'
This commit is contained in:
parent
498f0d5978
commit
dc4dd1c6e0
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ Provides: {{ md.provides(feature) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if include_requires %}
|
{% if include_requires %}
|
||||||
Requires: cargo
|
Requires: cargo
|
||||||
{% for req in md.requires(feature)|map("string")|sort %}
|
{% for req in normalize_deps(md.requires(feature))|map("string")|sort %}
|
||||||
Requires: {{ req }}
|
Requires: {{ req }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue