metadata: Set tilde separator for rust2rpm.Metadata.version
Otherwise we can't really package pre-release versions anymore :/ Fixes: https://pagure.io/fedora-rust/rust2rpm/issue/101 Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
c5e398bca6
commit
cfd3150663
1 changed files with 2 additions and 1 deletions
|
@ -222,7 +222,8 @@ 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