From c61d9d6879119f191e8cb74324b4fd0f284cdcd4 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Fri, 13 Dec 2019 21:17:26 +0100 Subject: [PATCH] Revert "metadata: Set tilde separator for rust2rpm.Metadata.version" This is not full fix, unfortunately since it breaks cargo-inspect. Paths on the file system are still with `-`. This reverts commit cfd315066399ad21bbf71a2d9fb52c78c2e0f0a6. Signed-off-by: Igor Gnatenko --- rust2rpm/metadata.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rust2rpm/metadata.py b/rust2rpm/metadata.py index f29c621..99debf3 100644 --- a/rust2rpm/metadata.py +++ b/rust2rpm/metadata.py @@ -222,8 +222,7 @@ class Metadata: self._version = version version_normalized = CargoSemVer.unparse_version( CargoSemVer.coerce( - CargoSemVer.parse_version(self._version)), - sep="~") + CargoSemVer.parse_version(self._version))) self.version = version_normalized self.license = None self.license_file = None