============================ 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.3-rubygem-bundler.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/bundle" ruby3.3-rubygem-bundler.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/bundle-2.4.22" ruby3.3-rubygem-bundler.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/bundle.ruby3.3" ruby3.3-rubygem-bundler.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/bundler" ruby3.3-rubygem-bundler.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/bundler-2.4.22" ruby3.3-rubygem-bundler.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/bundler.ruby3.3" Your package contains a file with no permissions. This is usually an error because the file won't be accessible by any user. You should check the file permissions and ensure that are correct or fix it using "%attr" macro in %files section. http://ftp.rpm.org/max-rpm/s1-rpm-anywhere-specifying-file-attributes.html ruby3.3-rubygem-bundler.aarch64: E: update-alternatives-postun-call-missing The package does not call update-alternatives --remove in postun phase to remove all the configuration for each individual --install binary that was done in postun. ruby3.3-rubygem-bundler.aarch64: I: package-supports-update-alternatives ruby3.3-rubygem-bundler.aarch64: E: non-executable-script /usr/lib64/ruby/gems/3.3.0/gems/bundler-2.4.22/lib/bundler/templates/Executable 644 /usr/bin/env <%= Bundler.settings[:shebang] || RbConfig::CONFIG["ruby_install_name"] %> ruby3.3-rubygem-bundler.aarch64: E: non-executable-script /usr/lib64/ruby/gems/3.3.0/gems/bundler-2.4.22/lib/bundler/templates/Executable.bundler 644 /usr/bin/env <%= Bundler.settings[:shebang] || RbConfig::CONFIG["ruby_install_name"] %> ruby3.3-rubygem-bundler.aarch64: E: non-executable-script /usr/lib64/ruby/gems/3.3.0/gems/bundler-2.4.22/lib/bundler/templates/Executable.standalone 644 /usr/bin/env <%= Bundler.settings[:shebang] || RbConfig::CONFIG["ruby_install_name"] %> ruby3.3-rubygem-bundler.aarch64: E: non-executable-script /usr/lib64/ruby/gems/3.3.0/gems/bundler-2.4.22/lib/bundler/templates/newgem/bin/console.tt 644 /usr/bin/env ruby ruby3.3-rubygem-bundler.aarch64: E: non-executable-script /usr/lib64/ruby/gems/3.3.0/gems/bundler-2.4.22/lib/bundler/templates/newgem/bin/setup.tt 644 /usr/bin/env bash ruby3.3-rubygem-bundler.aarch64: E: non-executable-script /usr/lib64/ruby/gems/3.3.0/gems/bundler-2.4.22/lib/bundler/templates/newgem/exe/newgem.tt 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. rubygem-bundler.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.3-rubygem-bundler.aarch64: W: hidden-file-or-dir /usr/lib64/ruby/gems/3.3.0/gems/bundler-2.4.22/lib/bundler/.document ruby3.3-rubygem-bundler.aarch64: W: hidden-file-or-dir /usr/lib64/ruby/gems/3.3.0/gems/bundler-2.4.22/lib/bundler/man/.document ruby3.3-rubygem-bundler.aarch64: W: hidden-file-or-dir /usr/lib64/ruby/gems/3.3.0/gems/bundler-2.4.22/lib/bundler/templates/.document ruby3.3-rubygem-bundler.aarch64: W: hidden-file-or-dir /usr/lib64/ruby/gems/3.3.0/gems/bundler-2.4.22/lib/bundler/vendor/.document The file or directory is hidden. You should see if this is normal, and delete it from the package if not. ruby3.3-rubygem-bundler.aarch64: W: files-duplicate /usr/lib64/ruby/gems/3.3.0/gems/bundler-2.4.22/lib/bundler/templates/.document /usr/lib64/ruby/gems/3.3.0/gems/bundler-2.4.22/lib/bundler/man/.document ruby3.3-rubygem-bundler.aarch64: W: files-duplicate /usr/lib64/ruby/gems/3.3.0/gems/bundler-2.4.22/lib/bundler/vendor/uri/LICENSE.txt /usr/lib64/ruby/gems/3.3.0/gems/bundler-2.4.22/lib/bundler/vendor/fileutils/LICENSE.txt:/usr/lib64/ruby/gems/3.3.0/gems/bundler-2.4.22/lib/bundler/vendor/tsort/LICENSE.txt 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 TOTAL 0.4 100.0 2 packages and 0 specfiles checked; 7 errors, 13 warnings, 33 filtered, 7 badness; has taken 0.4 s