On Fri, Dec 6, 2024 at 1:53 AM Miro Hrončok <mhroncok@xxxxxxxxxx> wrote: > > 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. Yes - that's exactly what I was referring to when I said the macro is "a bit weird, hard to use". :) I think moving this to redhat-rpm-config (or even just replacing it with something like `%{gsub %{version} ~ -}`, now that I know this exists) would be preferable than keeping it in its current state in the Rust RPM macro package. Fabio -- _______________________________________________ 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 Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue