Update comment for python_altnames() to reflect the reality

Related: rhbz#1950291
This commit is contained in:
Miro Hrončok 2021-02-24 12:06:35 +00:00
parent f9564fc7d5
commit f3df5e1d87

View File

@ -3,8 +3,8 @@
-- Determine alternate names provided from the given name.
-- Used in pythonname provides generator, python_provide and py_provides.
-- There are 2 rules:
-- python3-foo -> python-foo, python3X-foo
-- python3X-foo -> python-foo, python3-foo
-- python3-foo -> python-foo, python3.X-foo
-- python3.X-foo -> python-foo, python3-foo
-- There is no python-foo -> rule, python-foo packages are version agnostic.
-- Returns a table/array with strings. Empty when no rule matched.
local function python_altnames(name)