#3 Normalize semver (esp. pre-release) versions for RPM
Closed: Fixed 6 years ago Opened 6 years ago by ignatenkobrain.

e.g. if we have 0.9.3-rc3 we will need to transform it to at least 0.9.3~rc3 to emulate behavior of RPM. Otherwise it will work incorrectly.

I don't expect cargo users to use more complicated examples with pre/post releases (e.g. 0.9.3-alpha+post2), so should be enough to check if ver.prerelease is not empty tuple and use major.minor.patch~prerelease.

Metadata Update from @ignatenkobrain:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

6 years ago

Login to comment on this ticket.