Do not print comment about license if no conversion was done

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2022-07-06 16:04:51 +02:00
parent aa2bacbad6
commit 5bf0041067

View file

@ -25,7 +25,9 @@ Summary: {{ md.summary }}
Group: {{ rust_group }}
{% endif %}
{% if md.license != license %}
# Upstream license specification: {{ md.license|default("(missing)") }}
{% endif %}
License: {{ license|default("# FIXME") }}
{% if license_comments is not none %}
{{ license_comments }}