| |
@@ -37,11 +37,13 @@
|
| |
{% if crate_license != rpm_license %}
|
| |
# Upstream license specification: {{ crate_license|default("(missing)") }}
|
| |
{% endif %}
|
| |
+ {% if not use_vendor_tarball %}
|
| |
{% if rust2rpm_legacy %}
|
| |
# Source License: {{ rpm_license|default("# FIXME") }}
|
| |
{% else %}
|
| |
SourceLicense: {{ rpm_license|default("# FIXME") }}
|
| |
{% endif %}
|
| |
+ {% endif %}
|
| |
# FIXME: paste output of %%cargo_license_summary here
|
| |
License: # FIXME
|
| |
# LICENSE.dependencies contains a full license breakdown
|
| |
When using vendored dependencies, the licenses in the sources will typically match the licenses in the binaries. In this scenario the
SourceLicense
tag can be omitteed since it should match theLicense
tag.