https://bugzilla.redhat.com/show_bug.cgi?id=2031226

Maxwell G <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |needinfo?([email protected])



--- Comment #1 from Maxwell G <[email protected]> ---
You should generate this spec using go2rpm. You can do so by running `go2rpm -r
github.com/pelletier/go-toml/v2 -f https://github.com/pelletier/go-toml`. Then,
you should replace `Version:                2.0.0-beta.4` in the generated
specfile with the following:

```
Version:                2.0.0~beta.4
%global tag             %(echo v%{version} | sed -e 's/~/-/')
```

This ensures that the version will sort correctly once upstream puts out the
final release[1].

[1]: https://docs.fedoraproject.org/en-US/packaging-guidelines/Versioning

Thanks,
Maxwell


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2031226
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to