67ca805
Write pre-release tags with `~` for rpm We need to translate `x.y.z-foo` to `x.y.z~foo`. We also need to take care that pre-release semantic versions are only only allowed to match the same `x.y.z` series.