ruby2.5-rubygem-unf.x86_64: W: hidden-file-or-dir /usr/lib64/ruby/gems/2.5.0/gems/unf-0.1.4/.travis.yml The file or directory is hidden. You should see if this is normal, and delete it from the package if not. ruby2.5-rubygem-unf.x86_64: W: version-control-internal-file /usr/lib64/ruby/gems/2.5.0/gems/unf-0.1.4/.gitignore You have included file(s) internally used by a version control system in the package. Move these files out of the package and rebuild it. ruby2.5-rubygem-unf.x86_64: E: env-script-interpreter (Badness: 9) /usr/lib64/ruby/gems/2.5.0/gems/unf-0.1.4/Rakefile /usr/bin/env rake 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. 4 packages and 0 specfiles checked; 1 errors, 2 warnings.