include license file into main package as well

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2017-02-19 19:55:19 +01:00
parent 3b87345449
commit a6d8213e64

View file

@ -112,6 +112,9 @@ which use %{crate} from crates.io.
{% if include_main %}
%files
{% if md.license_file is not none %}
%license {{ md.license_file }}
{% endif %}
{% for bin in bins %}
%{_bindir}/{{ bin.name }}
{% endfor %}