On Thu, Dec 5, 2024 at 8:32 PM Miro Hrončok <mhron...@redhat.com> 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.
>
> 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
>

I would have moved %version_no_tilde to redhat-rpm-config a while ago,
I still think that's probably the place to put a successor macro to
it.



-- 
真実はいつも一つ!/ Always, there's only one truth!
-- 
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to