You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1013 B
30 lines
1013 B
5 years ago
|
From 94e3528e8f142e09c476417e43bf2597e029590d Mon Sep 17 00:00:00 2001
|
||
|
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
|
||
|
Date: Fri, 13 Dec 2019 22:05:04 +0100
|
||
|
Subject: [PATCH] templates: Generate files entry with no-tilde
|
||
|
|
||
|
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
|
||
|
---
|
||
|
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 %}
|
||
|
--
|
||
|
2.24.1
|
||
|
|