From f3df5e1d8762651ca01f8077f22df49ef1d067c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 24 Feb 2021 12:06:35 +0000 Subject: [PATCH] Update comment for python_altnames() to reflect the reality Related: rhbz#1950291 --- python.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python.lua b/python.lua index 8766c91..8391fe7 100644 --- a/python.lua +++ b/python.lua @@ -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)