openSUSE / python-rpm-macros

Multi-Python, Single-Spec macros generator
Other
22 stars 20 forks source link

update-alternatives priorities #109

Closed bnavigator closed 3 years ago

bnavigator commented 3 years ago

Currently, the priority of u-a controlled executables is derived from %python_version_nodots:

https://github.com/openSUSE/python-rpm-macros/blob/937b8d85141cc5ee3d929b04e9003e3cfae0ac94/functions.lua#L121-L122

This currently makes the -3.9 alternatives the default. I imagine users and packagers would expect the primary python3 flavor to have the highest prio.