Am 09.10.23 um 09:55 schrieb Johannes Kastl:
Hi Ben,
On 09.10.23 at 09:51 Ben Greiner wrote:
Am 09.10.23 um 08:59 schrieb Johannes Kastl:
I must have missed something (or something inside upstream's settings is broken). I have added the update-alternatives commands as documented in the wiki.
Which wiki page? You used the wrong macro.
https://en.opensuse.org/openSUSE:Packaging_Python#update-alternatives The "If not" clause for *|%prepare_alternative something|* refers to the rare case when you would create nautikos-3.9 and the other flavors yourself. The wording is a bit misleading.
OK, I thought this was the way to go as I had no %python_clone in my spec file.
I would add a second stanza after the "If", something like: "If the %python_install does not create the version-specific file names itself, please add the %python_clone command to your install section"
Why would you expect deprecated %python_install or %pyproject_install do that? %python_clone is standard and added by py2pack automatically. It's not optional for flavored commands.