templates: fix some conditions for cargo_install_bin support
This commit is contained in:
parent
d1d25eb684
commit
f0e65999a7
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@
|
|||
{% endif %}
|
||||
%bcond_with check
|
||||
{% endif %}
|
||||
{% if not (rpm_binary_package or rpm_cdylib_package) %}
|
||||
{% if not (rpm_binary_package or rpm_cdylib_package) or not cargo_install_bin %}
|
||||
%global debug_package %{nil}
|
||||
{% endif %}
|
||||
|
||||
|
@ -267,7 +267,7 @@ echo {{ "%r" | format(req) }}
|
|||
{% if conf_supported_arches %}
|
||||
%endif
|
||||
{% endif %}
|
||||
{% if rpm_binary_package or rpm_cdylib_package %}
|
||||
{% if (rpm_binary_package or rpm_cdylib_package) and cargo_install_bin %}
|
||||
%{cargo_license_summary{{ cargo_args }}}
|
||||
%{cargo_license{{ cargo_args }}} > LICENSE.dependencies
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue