On 05. 12. 24 21:57, Fabio Valentini wrote:
The %{version_no_tilde} macro is a "convenient" way of converting RPM
version strings into "SemVer-ish" (or even Python-ish) version
strings. It currently lives with the Rust macros.
Unfortunately, for Python the macro is only usable like this:
%{version_no_tilde %{quote:}}
And that is a bit hard to use.
There's also:
https://src.fedoraproject.org/rpms/python-rpm-macros/pull-request/101
https://github.com/rpm-software-management/rpm/issues/1219
https://github.com/rpm-software-management/rpm/discussions/2715
--
Miro Hrončok
--
Phone: +420777974800
Fedora Matrix: mhroncok
--
_______________________________________________
devel 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, report it:
https://pagure.io/fedora-infrastructure/new_issue