From 94e3528e8f142e09c476417e43bf2597e029590d Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Dec 13 2019 21:05:04 +0000 Subject: templates: Generate files entry with no-tilde Signed-off-by: Igor Gnatenko --- diff --git a/rust2rpm/templates/main.spec b/rust2rpm/templates/main.spec index 2fb1aff..c5686d3 100644 --- a/rust2rpm/templates/main.spec +++ b/rust2rpm/templates/main.spec @@ -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 %}