lcurse.noarch: W: empty-%post lcurse.noarch: W: empty-%postun lcurse.noarch: W: non-executable-script /usr/share/applications/lcurse.desktop 644 /usr/bin/env xdg-open 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. lcurse.noarch: E: env-script-interpreter (Badness: 9) /usr/share/lcurse/lcurse /usr/bin/env python3 lcurse.noarch: E: env-script-interpreter (Badness: 9) /usr/share/lcurse/modules/application.py /usr/bin/env python lcurse.noarch: E: env-script-interpreter (Badness: 9) /usr/share/lcurse/setup.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. 2 packages and 0 specfiles checked; 3 errors, 3 warnings.