include license file into main package as well
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
3b87345449
commit
a6d8213e64
1 changed files with 3 additions and 0 deletions
|
@ -112,6 +112,9 @@ which use %{crate} from crates.io.
|
||||||
|
|
||||||
{% if include_main %}
|
{% if include_main %}
|
||||||
%files
|
%files
|
||||||
|
{% if md.license_file is not none %}
|
||||||
|
%license {{ md.license_file }}
|
||||||
|
{% endif %}
|
||||||
{% for bin in bins %}
|
{% for bin in bins %}
|
||||||
%{_bindir}/{{ bin.name }}
|
%{_bindir}/{{ bin.name }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in a new issue