============================ rpmlint session starts ============================ rpmlint: 2.6.1 configuration: /opt/testing/lib/python3.11/rpmlint/configdefaults.toml /opt/testing/share/rpmlint/cron-whitelist.toml /opt/testing/share/rpmlint/dbus-services.toml /opt/testing/share/rpmlint/device-files-whitelist.toml /opt/testing/share/rpmlint/licenses.toml /opt/testing/share/rpmlint/opensuse.toml /opt/testing/share/rpmlint/pam-modules.toml /opt/testing/share/rpmlint/permissions-whitelist.toml /opt/testing/share/rpmlint/pie-executables.toml /opt/testing/share/rpmlint/polkit-rules-whitelist.toml /opt/testing/share/rpmlint/scoring.toml /opt/testing/share/rpmlint/security.toml /opt/testing/share/rpmlint/sudoers-whitelist.toml /opt/testing/share/rpmlint/sysctl-whitelist.toml /opt/testing/share/rpmlint/systemd-tmpfiles.toml /opt/testing/share/rpmlint/users-groups.toml /opt/testing/share/rpmlint/world-writable-whitelist.toml /opt/testing/share/rpmlint/zypper-plugins.toml /etc/xdg/rpmlint/scoring-strict.override.toml checks: 41, packages: 5 python-spark_parser.spec:19: W: python-module-def %{?!python_module:%define python_module() python-%{**} python3-%{**}} The spec file contains a conditional definition of python_module macro, this macro is present in recent versions of python-rpm-macros. The following conditional python_module macro definition can be removed: %{?!python_module:%define python_module() python-%{**} python3-%{**}} python310-spark_parser.noarch: I: package-supports-update-alternatives python311-spark_parser.noarch: I: package-supports-update-alternatives python312-spark_parser.noarch: I: package-supports-update-alternatives python313-spark_parser.noarch: I: package-supports-update-alternatives python310-spark_parser.noarch: E: non-executable-script /usr/lib/python3.10/site-packages/spark_parser/example/python2/format-python.py 644 /usr/bin/env python python311-spark_parser.noarch: E: non-executable-script /usr/lib/python3.11/site-packages/spark_parser/example/python2/format-python.py 644 /usr/bin/env python python312-spark_parser.noarch: E: non-executable-script /usr/lib/python3.12/site-packages/spark_parser/example/python2/format-python.py 644 /usr/bin/env python python313-spark_parser.noarch: E: non-executable-script /usr/lib/python3.13/site-packages/spark_parser/example/python2/format-python.py 644 /usr/bin/env python This text file contains a shebang or is located in a path dedicated for executables, but lacks the executable bits and cannot thus be executed. If the file is meant to be an executable script, add the executable bits, otherwise remove the shebang or move the file elsewhere. python310-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.10/site-packages/spark_parser/bin/parser_coverage.py /usr/bin/env python python310-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.10/site-packages/spark_parser/example/expr/expr.py /usr/bin/env python python310-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.10/site-packages/spark_parser/example/python2/reflow.py /usr/bin/env python python310-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.10/site-packages/spark_parser/example/python2/test/test_format.py /usr/bin/env python python310-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.10/site-packages/spark_parser/example/python2/test/test_format_inline.py /usr/bin/env python python310-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.10/site-packages/spark_parser/example/python2/test/test_parse.py /usr/bin/env python python310-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.10/site-packages/spark_parser/example/python2/test/test_parse_inline.py /usr/bin/env python python310-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.10/site-packages/spark_parser/example/python2/test/test_scan.py /usr/bin/env python python310-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.10/site-packages/spark_parser/example/python2/test/test_scan_inline.py /usr/bin/env python python311-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.11/site-packages/spark_parser/bin/parser_coverage.py /usr/bin/env python python311-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.11/site-packages/spark_parser/example/expr/expr.py /usr/bin/env python python311-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.11/site-packages/spark_parser/example/python2/reflow.py /usr/bin/env python python311-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.11/site-packages/spark_parser/example/python2/test/test_format.py /usr/bin/env python python311-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.11/site-packages/spark_parser/example/python2/test/test_format_inline.py /usr/bin/env python python311-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.11/site-packages/spark_parser/example/python2/test/test_parse.py /usr/bin/env python python311-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.11/site-packages/spark_parser/example/python2/test/test_parse_inline.py /usr/bin/env python python311-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.11/site-packages/spark_parser/example/python2/test/test_scan.py /usr/bin/env python python311-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.11/site-packages/spark_parser/example/python2/test/test_scan_inline.py /usr/bin/env python python312-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.12/site-packages/spark_parser/bin/parser_coverage.py /usr/bin/env python python312-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.12/site-packages/spark_parser/example/expr/expr.py /usr/bin/env python python312-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.12/site-packages/spark_parser/example/python2/reflow.py /usr/bin/env python python312-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.12/site-packages/spark_parser/example/python2/test/test_format.py /usr/bin/env python python312-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.12/site-packages/spark_parser/example/python2/test/test_format_inline.py /usr/bin/env python python312-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.12/site-packages/spark_parser/example/python2/test/test_parse.py /usr/bin/env python python312-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.12/site-packages/spark_parser/example/python2/test/test_parse_inline.py /usr/bin/env python python312-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.12/site-packages/spark_parser/example/python2/test/test_scan.py /usr/bin/env python python312-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.12/site-packages/spark_parser/example/python2/test/test_scan_inline.py /usr/bin/env python python313-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.13/site-packages/spark_parser/bin/parser_coverage.py /usr/bin/env python python313-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.13/site-packages/spark_parser/example/expr/expr.py /usr/bin/env python python313-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.13/site-packages/spark_parser/example/python2/reflow.py /usr/bin/env python python313-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.13/site-packages/spark_parser/example/python2/test/test_format.py /usr/bin/env python python313-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.13/site-packages/spark_parser/example/python2/test/test_format_inline.py /usr/bin/env python python313-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.13/site-packages/spark_parser/example/python2/test/test_parse.py /usr/bin/env python python313-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.13/site-packages/spark_parser/example/python2/test/test_parse_inline.py /usr/bin/env python python313-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.13/site-packages/spark_parser/example/python2/test/test_scan.py /usr/bin/env python python313-spark_parser.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/python3.13/site-packages/spark_parser/example/python2/test/test_scan_inline.py /usr/bin/env python This script uses 'env' as an interpreter. For the rpm runtime dependency detection to work, the shebang #!/usr/bin/env needs to be patched into #!/usr/bin/ otherwise the package dependency generator merely adds a dependency on /usr/bin/env rather than the actual interpreter /usr/bin/. Alternatively, if the file should not be executed, then ensure that it is not marked as executable or don't install it in a path that is reserved for executables. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files SUIDPermissionsCheck 0.1 19.9 FilesCheck 0.1 17.1 ExtractRpm 0.1 16.4 TOTAL 0.7 100.0 5 packages and 0 specfiles checked; 40 errors, 1 warnings, 42 filtered, 328 badness; has taken 0.8 s