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 cfd3150663
.
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
cfd3150663
commit
c61d9d6879
1 changed files with 1 additions and 2 deletions
|
@ -222,8 +222,7 @@ class Metadata:
|
||||||
self._version = version
|
self._version = version
|
||||||
version_normalized = CargoSemVer.unparse_version(
|
version_normalized = CargoSemVer.unparse_version(
|
||||||
CargoSemVer.coerce(
|
CargoSemVer.coerce(
|
||||||
CargoSemVer.parse_version(self._version)),
|
CargoSemVer.parse_version(self._version)))
|
||||||
sep="~")
|
|
||||||
self.version = version_normalized
|
self.version = version_normalized
|
||||||
self.license = None
|
self.license = None
|
||||||
self.license_file = None
|
self.license_file = None
|
||||||
|
|
Loading…
Reference in a new issue