ruby2.5-rubygem-net-ssh-gateway.armv7hl: W: hidden-file-or-dir /usr/lib/ruby/gems/2.5.0/gems/net-ssh-gateway-2.0.0/.ruby-version ruby2.5-rubygem-net-ssh-gateway.armv7hl: W: hidden-file-or-dir /usr/lib/ruby/gems/2.5.0/gems/net-ssh-gateway-2.0.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-net-ssh-gateway.armv7hl: W: pem-certificate /usr/lib/ruby/gems/2.5.0/gems/net-ssh-gateway-2.0.0/net-ssh-public_cert.pem Shipping a PEM certificate is likely wrong. If used for the default configuration, this is insecure ( since the certificate is public ). If this is used for validation, ie a CA certificate store, then this must be kept up to date due to CA compromise. The only valid reason is for testing purpose, so ignore this warning if this is the case. ruby2.5-rubygem-net-ssh-gateway.armv7hl: W: version-control-internal-file /usr/lib/ruby/gems/2.5.0/gems/net-ssh-gateway-2.0.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. 3 packages and 0 specfiles checked; 0 errors, 4 warnings.