On Tue, Jun 15, 2021 at 5:35 AM Miro Hrončok <mhron...@redhat.com> wrote: > > On 14. 06. 21 7:31, Zbigniew Jędrzejewski-Szmek wrote: > >> BuildRequires: %{py3_dist pytest} > > Does it make sense to recommend py3_dist here? python3dist(pytest) is > > not more complex but can be fed to 'dnf install' directly, so in the > > end it's more flexible. I always find the macro more obfuscation than > > anything for package names which don't require normalization. > > Replaced with python3dist(pytest). The %py3_dist remains documented in the > guidelines but is not longer used in examples like this (this was the only > instance). >
The case where we'd use macros would be if we want to extend for building for multiple Pythons from one spec file again (which is something that'd be nice to do in the future)... -- 真実はいつも一つ!/ Always, there's only one truth! _______________________________________________ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to python-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/python-devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure