when-command.noarch: W: empty-%post when-command.noarch: W: empty-%postun when-command.noarch: W: no-dependency-on python-base 3.6 when-command.noarch: E: env-script-interpreter (Badness: 9) /usr/share/when-command/when-command.py /usr/bin/env python3 This script uses 'env' as an interpreter. For the rpm runtime dependency detection to work, the shebang #!/usr/bin/env python needs to be patched into #!/usr/bin/python otherwise the package dependency generator merely adds a dependency on /usr/bin/env rather than the actual interpreter /usr/bin/python. 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. 3 packages and 0 specfiles checked; 1 errors, 3 warnings.