dc4dd1c
@@ -142,7 +142,7 @@
{% endif %}
{% if include_requires %}
Requires: cargo
- {% for req in md.requires(feature)|map("string")|sort %}
+ {% for req in normalize_deps(md.requires(feature))|map("string")|sort %}
Requires: {{ req }}
{% endfor %}
Make specfiles generated with '--target plain' generate correct 'Requires:'
https://bugzilla.redhat.com/show_bug.cgi?id=1915269
Pull-Request has been merged by zbyszek
Make specfiles generated with '--target plain' generate correct 'Requires:'
https://bugzilla.redhat.com/show_bug.cgi?id=1915269