On Mon, Jun 29, 2020 at 2:50 PM Tomas Hrnciar <thrnciar@xxxxxxxxxx> wrote: > > Hello everyone, > > with the upcoming Python 3.10 update we need to update Python 3 version globs in Fedora specfiles. The reason is simple, Python version will be one character longer so the currently omnipresent ?.? glob won't work anymore. We will replace such globs with %{python_version} (or %{python_version_nodots}) macros using: > > sed -i -e '/python2\|python3_other/!s/??/%{python3_version_nodots}/g' \ > -e '/python2\|python3_other/!s/?\.?/%{python3_version}/g' *.spec > > There are currently 402 affected packages. > > $ grep -l 'py?.?\|python?.?\|python-??\|Python??' *.spec | wc -l > 404 > > We have manually removed pygtk2 and tomoe, because the hit was a false positive. Great, thank you for doing this. I've tried to switch from ?.? to %{python3_version} every time I touch one of my packages, but it looks like I missed some :) 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