From 94e3528e8f142e09c476417e43bf2597e029590d Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Fri, 13 Dec 2019 22:05:04 +0100 Subject: [PATCH] templates: Generate files entry with no-tilde Signed-off-by: Igor Gnatenko --- rust2rpm/templates/main.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 %}