templates: Generate files entry with no-tilde

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2019-12-13 22:05:04 +01:00
parent d20f990832
commit 94e3528e8f
No known key found for this signature in database
GPG key ID: 695714BD1BBC5F4C

View file

@ -170,9 +170,9 @@ which use {% if feature is not none %}"{{ feature }}" feature of {% endif %}"%{c
{% if md.readme is not none %}
%doc {{ md.readme }}
{% endif %}
%{cargo_registry}/%{crate}-%{version}/
%{cargo_registry}/%{crate}-%{version_no_tilde}/
{% else %}
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
{% endif %}
{% endfor %}