ruby2.5-rubygem-amq-protocol-testsuite.x86_64: W: filename-too-long-for-joliet ruby2.5-rubygem-amq-protocol-testsuite-2.3.0-bp155.2.10.x86_64.rpm This filename is too long to fit on a joliet filesystem (limit is 64 unicode chars). ruby2.5-rubygem-amq-protocol-doc.x86_64: W: files-duplicate /usr/lib64/ruby/gems/2.5.0/doc/amq-protocol-2.3.0/ri/AMQ/Hacks/pack_int16_big_endian-c.ri /usr/lib64/ruby/gems/2.5.0/doc/amq-protocol-2.3.0/ri/AMQ/Pack/pack_int16_big_endian-c.ri ruby2.5-rubygem-amq-protocol-doc.x86_64: W: files-duplicate /usr/lib64/ruby/gems/2.5.0/doc/amq-protocol-2.3.0/ri/AMQ/Hacks/unpack_int16_big_endian-c.ri /usr/lib64/ruby/gems/2.5.0/doc/amq-protocol-2.3.0/ri/AMQ/Pack/unpack_int16_big_endian-c.ri ruby2.5-rubygem-amq-protocol-doc.x86_64: W: files-duplicate /usr/lib64/ruby/gems/2.5.0/doc/amq-protocol-2.3.0/ri/AMQ/Pack/pack_uint64_big_endian-c.ri /usr/lib64/ruby/gems/2.5.0/doc/amq-protocol-2.3.0/ri/AMQ/Hacks/pack_uint64_big_endian-c.ri ruby2.5-rubygem-amq-protocol-doc.x86_64: W: files-duplicate /usr/lib64/ruby/gems/2.5.0/doc/amq-protocol-2.3.0/ri/AMQ/Pack/unpack_uint64_big_endian-c.ri /usr/lib64/ruby/gems/2.5.0/doc/amq-protocol-2.3.0/ri/AMQ/Hacks/unpack_uint64_big_endian-c.ri ruby2.5-rubygem-amq-protocol.x86_64: W: hidden-file-or-dir /usr/lib64/ruby/gems/2.5.0/gems/amq-protocol-2.3.0/.gitmodules ruby2.5-rubygem-amq-protocol.x86_64: W: hidden-file-or-dir /usr/lib64/ruby/gems/2.5.0/gems/amq-protocol-2.3.0/.rspec ruby2.5-rubygem-amq-protocol.x86_64: W: hidden-file-or-dir /usr/lib64/ruby/gems/2.5.0/gems/amq-protocol-2.3.0/.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-amq-protocol.x86_64: W: non-executable-script /usr/lib64/ruby/gems/2.5.0/gems/amq-protocol-2.3.0/benchmarks/pure/body_framing_with_256k_payload.rb 644 /usr/bin/env ruby ruby2.5-rubygem-amq-protocol.x86_64: W: non-executable-script /usr/lib64/ruby/gems/2.5.0/gems/amq-protocol-2.3.0/benchmarks/pure/body_framing_with_2k_payload.rb 644 /usr/bin/env ruby ruby2.5-rubygem-amq-protocol.x86_64: W: non-executable-script /usr/lib64/ruby/gems/2.5.0/gems/amq-protocol-2.3.0/profiling/stackprof/body_framing_with_2k_payload.rb 644 /usr/bin/env ruby 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. ruby2.5-rubygem-amq-protocol.x86_64: W: version-control-internal-file /usr/lib64/ruby/gems/2.5.0/gems/amq-protocol-2.3.0/.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-amq-protocol.x86_64: E: env-script-interpreter (Badness: 9) /usr/lib64/ruby/gems/2.5.0/gems/amq-protocol-2.3.0/amq-protocol.gemspec /usr/bin/env gem build ruby2.5-rubygem-amq-protocol.x86_64: E: env-script-interpreter (Badness: 9) /usr/lib64/ruby/gems/2.5.0/gems/amq-protocol-2.3.0/codegen/codegen.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 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; 2 errors, 12 warnings.