diff --git a/rust2rpm/templates/main.spec b/rust2rpm/templates/main.spec index ee69224..27fec02 100644 --- a/rust2rpm/templates/main.spec +++ b/rust2rpm/templates/main.spec @@ -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 }}