Am 10.10.23 um 13:13 schrieb Axel Braun:
Hi Daniel,
Am Dienstag, 10. Oktober 2023, 08:22:54 CEST schrieb Daniel Garcia via openSUSE Factory:
Right now /usr/bin/python3 is a link provided by the current system python package that today is python311, in Factory. Any package that provides a python script with the shebang #!/usr/bin/python3 will have the requirement on /usr/bin/python3. Does it catch the /usr/bin/env python[3] as well?
It only catches stuff in %_bindir. For scripts in other places of an installation, which rpmlint frequently complains about, it is best that the packager decides whether it is better to fix or remove the interpreter line. Most of the time such scripts are not really meant to be executable in a system-wide installation anyway.
Cheers Axel
- Ben