============================ rpmlint session starts ============================ rpmlint: 2.6.1 configuration: /opt/testing/lib64/python3.11/rpmlint/configdefaults.toml /opt/testing/share/rpmlint/cron-whitelist.toml /opt/testing/share/rpmlint/dbus-services.toml /opt/testing/share/rpmlint/device-files-whitelist.toml /opt/testing/share/rpmlint/licenses.toml /opt/testing/share/rpmlint/opensuse.toml /opt/testing/share/rpmlint/pam-modules.toml /opt/testing/share/rpmlint/permissions-whitelist.toml /opt/testing/share/rpmlint/pie-executables.toml /opt/testing/share/rpmlint/polkit-rules-whitelist.toml /opt/testing/share/rpmlint/scoring.toml /opt/testing/share/rpmlint/security.toml /opt/testing/share/rpmlint/sudoers-whitelist.toml /opt/testing/share/rpmlint/sysctl-whitelist.toml /opt/testing/share/rpmlint/systemd-tmpfiles.toml /opt/testing/share/rpmlint/users-groups.toml /opt/testing/share/rpmlint/world-writable-whitelist.toml /opt/testing/share/rpmlint/zypper-plugins.toml /etc/xdg/rpmlint/scoring-strict.override.toml checks: 41, packages: 2 ruby3.4-rubygem-pry-doc.x86_64: E: zero-length /usr/lib64/ruby/gems/3.4.0/gems/pry-doc-1.5.0/lib/pry-doc/docs/24/complete ruby3.4-rubygem-pry-doc.x86_64: E: zero-length /usr/lib64/ruby/gems/3.4.0/gems/pry-doc-1.5.0/lib/pry-doc/docs/25/complete ruby3.4-rubygem-pry-doc.x86_64: E: zero-length /usr/lib64/ruby/gems/3.4.0/gems/pry-doc-1.5.0/lib/pry-doc/docs/26/complete ruby3.4-rubygem-pry-doc.x86_64: E: zero-length /usr/lib64/ruby/gems/3.4.0/gems/pry-doc-1.5.0/lib/pry-doc/docs/27/complete ruby3.4-rubygem-pry-doc.x86_64: E: zero-length /usr/lib64/ruby/gems/3.4.0/gems/pry-doc-1.5.0/lib/pry-doc/docs/30/complete ruby3.4-rubygem-pry-doc.x86_64: E: zero-length /usr/lib64/ruby/gems/3.4.0/gems/pry-doc-1.5.0/lib/pry-doc/docs/31/complete ruby3.4-rubygem-pry-doc.x86_64: E: zero-length /usr/lib64/ruby/gems/3.4.0/gems/pry-doc-1.5.0/lib/pry-doc/docs/32/complete ruby3.4-rubygem-pry-doc.x86_64: E: zero-length /usr/lib64/ruby/gems/3.4.0/gems/pry-doc-1.5.0/lib/pry-doc/docs/33/complete ruby3.4-rubygem-pry-doc.x86_64: E: wrong-script-end-of-line-encoding /usr/lib64/ruby/gems/3.4.0/gems/pry-doc-1.5.0/.yardopts ruby3.4-rubygem-pry-doc.x86_64: E: wrong-script-end-of-line-encoding /usr/lib64/ruby/gems/3.4.0/gems/pry-doc-1.5.0/LICENSE This script has wrong end-of-line encoding, usually caused by creation or modification on a non-Unix system. It will prevent its execution. ruby3.4-rubygem-pry-doc.x86_64: E: version-control-internal-file /usr/lib64/ruby/gems/3.4.0/gems/pry-doc-1.5.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. ruby3.4-rubygem-pry-doc.x86_64: E: script-without-shebang /usr/lib64/ruby/gems/3.4.0/gems/pry-doc-1.5.0/.gitignore ruby3.4-rubygem-pry-doc.x86_64: E: script-without-shebang /usr/lib64/ruby/gems/3.4.0/gems/pry-doc-1.5.0/.yardopts ruby3.4-rubygem-pry-doc.x86_64: E: script-without-shebang /usr/lib64/ruby/gems/3.4.0/gems/pry-doc-1.5.0/LICENSE ruby3.4-rubygem-pry-doc.x86_64: E: script-without-shebang /usr/lib64/ruby/gems/3.4.0/gems/pry-doc-1.5.0/README.md ruby3.4-rubygem-pry-doc.x86_64: E: script-without-shebang /usr/lib64/ruby/gems/3.4.0/gems/pry-doc-1.5.0/Rakefile ruby3.4-rubygem-pry-doc.x86_64: E: script-without-shebang /usr/lib64/ruby/gems/3.4.0/gems/pry-doc-1.5.0/lib/pry-doc.rb ruby3.4-rubygem-pry-doc.x86_64: E: script-without-shebang /usr/lib64/ruby/gems/3.4.0/gems/pry-doc-1.5.0/lib/pry-doc/version.rb This text file has executable bits set or is located in a path dedicated for executables, but lacks a shebang and cannot thus be executed. If the file is meant to be an executable script, add the shebang, otherwise remove the executable bits or move the file elsewhere. rubygem-pry-doc.spec: W: no-%check-section The spec file does not contain an %check section. Please check if the package has a testsuite and what it takes to enable the testsuite as part of the package build. If it is not possible to run it in the build environment (OBS/koji) or no testsuite exists, then please ignore this warning. You should not insert an empty %check section. ruby3.4-rubygem-pry-doc.x86_64: W: hidden-file-or-dir /usr/lib64/ruby/gems/3.4.0/gems/pry-doc-1.5.0/.github ruby3.4-rubygem-pry-doc.x86_64: W: hidden-file-or-dir /usr/lib64/ruby/gems/3.4.0/gems/pry-doc-1.5.0/.github ruby3.4-rubygem-pry-doc.x86_64: W: hidden-file-or-dir /usr/lib64/ruby/gems/3.4.0/gems/pry-doc-1.5.0/.gitignore ruby3.4-rubygem-pry-doc.x86_64: W: hidden-file-or-dir /usr/lib64/ruby/gems/3.4.0/gems/pry-doc-1.5.0/.yardopts The file or directory is hidden. You should see if this is normal, and delete it from the package if not. ruby3.4-rubygem-pry-doc.x86_64: W: files-duplicate /usr/lib64/ruby/gems/3.4.0/gems/pry-doc-1.5.0/lib/pry-doc/docs/33/proxy_types /usr/lib64/ruby/gems/3.4.0/gems/pry-doc-1.5.0/lib/pry-doc/docs/20/proxy_types:/usr/lib64/ruby/gems/3.4.0/gems/pry-doc-1.5.0/lib/pry-doc/docs/21/proxy_types:/usr/lib64/ruby/gems/3.4.0/gems/pry-doc-1.5.0/lib/pry-doc/docs/22/proxy_types:/usr/lib64/ruby/gems/3.4.0/gems/pry-doc-1.5.0/lib/pry-doc/docs/23/proxy_types:/usr/lib64/ruby/gems/3.4.0/gems/pry-doc-1.5.0/lib/pry-doc/docs/24/proxy_types:(and 6 more) Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files ExtractRpm 2.7 93.7 SignatureCheck 0.1 3.7 TOTAL 2.8 100.0 2 packages and 0 specfiles checked; 18 errors, 6 warnings, 8 filtered, 18 badness; has taken 2.9 s