On Do, 01.08.19 05:31, Nico Kadel-Garcia (nkadel@xxxxxxxxx) wrote: > On Thu, Aug 1, 2019 at 4:16 AM Fabio Valentini <decathorpe@xxxxxxxxx> wrote: > > > So ... prerelease versions are usually tagged with an "-rc1" suffix > > (or similar), which is a valid value for git tags, but RPM doesn't > > allow versions to contain hyphens. > > In RPM versions, prereleases can be tagged with an "~rc1" suffix (or > > similar), which does exactly the right thing for version comparisons > > in RPM, but is not a valid value for a git tag. > > It's also not following semver. Semver numbering, which is shown by > the numbering of semver releases at https://semver.org/, would be > "-rc.1". If you look at the actual spec wording, you'll see that "-rc1" is fine too. Their example says "-rc.1", but if you read the rules then "-rc1" is as OK as "-rc.1", the only difference being that the former is *one* dot separated identifier, and the latter are *two* dot separated identifiers, but both are OK according to the spec. Lennart -- Lennart Poettering, Berlin _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx