============================ 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 rpmlintrc: /home/abuild/rpmbuild/SOURCES/ruby3.3-rpmlintrc checks: 41, packages: 7 ruby3.3.x86_64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/bundle" ruby3.3.x86_64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/bundle.ruby3.3" ruby3.3.x86_64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/bundler" ruby3.3.x86_64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/bundler.ruby3.3" ruby3.3.x86_64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/erb*" ruby3.3.x86_64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/racc" ruby3.3.x86_64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/racc.ruby3.3" ruby3.3.x86_64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rake" ruby3.3.x86_64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rake.ruby3.3" ruby3.3.x86_64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rbs" ruby3.3.x86_64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rbs.ruby3.3" ruby3.3.x86_64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rdbg" ruby3.3.x86_64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rdbg.ruby3.3" ruby3.3.x86_64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rdoc" ruby3.3.x86_64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rdoc.ruby3.3" ruby3.3.x86_64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/ri" ruby3.3.x86_64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/ri.ruby3.3" ruby3.3.x86_64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/syntax_suggest" ruby3.3.x86_64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/syntax_suggest.ruby3.3" ruby3.3.x86_64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/typeprof" ruby3.3.x86_64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/typeprof.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.x86_64: 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.src: E: unused-rpmlintrc-filter "unexpanded-macro /usr/share/ri/.*" ruby3.3.src: E: unused-rpmlintrc-filter "ruby3.3.*devel-file-in-non-devel-package.*/usr/lib.*/ruby/gems/.*" ruby3.3.x86_64: E: suse-zypp-otherproviders otherproviders(ruby-default) The 'otherproviders(symbol)' syntax is obsolete, it is not needed and you can use the 'symbol' directly: 'Conflicts: symbol' ruby3.3.x86_64: I: package-supports-update-alternatives ruby3.3-devel-extra.x86_64: E: no-binary ruby3.3-doc.x86_64: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. ruby3.3-doc.x86_64: W: hidden-file-or-dir /usr/share/doc/packages/ruby3.3-doc/optparse/.document The file or directory is hidden. You should see if this is normal, and delete it from the package if not. ruby3.3.x86_64: W: files-duplicate /usr/lib64/ruby/gems/3.3.0/gems/prime-0.1.2/bin/setup /usr/lib64/ruby/3.3.0/bundler/templates/newgem/bin/setup.tt ruby3.3.x86_64: W: files-duplicate /usr/lib64/ruby/3.3.0/rubygems/vendor/optparse/lib/optionparser.rb /usr/lib64/ruby/3.3.0/optionparser.rb ruby3.3.x86_64: W: files-duplicate /usr/lib64/ruby/gems/3.3.0/gems/rss-0.3.1/LICENSE.txt /usr/lib64/ruby/gems/3.3.0/gems/debug-1.9.2/LICENSE.txt:/usr/lib64/ruby/gems/3.3.0/gems/matrix-0.4.2/LICENSE.txt:/usr/lib64/ruby/gems/3.3.0/gems/net-ftp-0.3.4/LICENSE.txt:/usr/lib64/ruby/gems/3.3.0/gems/net-pop-0.1.2/LICENSE.txt:/usr/lib64/ruby/gems/3.3.0/gems/net-smtp-0.4.0.1/LICENSE.txt:(and 2 more) ruby3.3-doc.x86_64: W: files-duplicate /usr/share/doc/packages/ruby3.3-doc/sample/getoptlong/permute.rb /usr/share/doc/packages/ruby3.3-doc/sample/getoptlong/argv.rb ruby3.3-doc.x86_64: W: files-duplicate /usr/share/doc/packages/ruby3.3-doc/sample/trick2015/ksk_2/authors.markdown /usr/share/doc/packages/ruby3.3-doc/sample/trick2015/ksk_1/authors.markdown ruby3.3-doc.x86_64: W: files-duplicate /usr/share/doc/packages/ruby3.3-doc/sample/trick2022/03-mame/authors.markdown /usr/share/doc/packages/ruby3.3-doc/sample/trick2018/02-mame/authors.markdown ruby3.3-doc.x86_64: W: files-duplicate /usr/share/doc/packages/ruby3.3-doc/sample/trick2022/02-tompng/authors.markdown /usr/share/doc/packages/ruby3.3-doc/sample/trick2018/03-tompng/authors.markdown:/usr/share/doc/packages/ruby3.3-doc/sample/trick2018/05-tompng/authors.markdown:/usr/share/doc/packages/ruby3.3-doc/sample/trick2022/01-tompng/authors.markdown Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. ruby3.3-devel-extra.x86_64: E: devel-dependency ruby3.3-devel Your package has a dependency on a devel package but it's not a devel package itself. ruby3.3-devel-extra.x86_64: W: description-shorter-than-summary The package description should be longer than the summary. ruby3.3.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/ruby/3.3.0/x86_64-linux-gnu/socket.so The binary calls gethostbyname. Please port the code to use getaddrinfo. ruby3.3.x86_64: E: alternative-link-missing /etc/alternatives/$bin ruby3.3.x86_64: E: alternative-link-missing /etc/alternatives/$bin.ruby3.3 The file %{_sysconfdir}/alternatives/$(basename generic-name) is missing in the file list. Mark it as %ghost and add it to the file list. ruby3.3.x86_64: E: alternative-generic-name-missing /usr/bin/$bin ruby3.3.x86_64: E: alternative-generic-name-missing /usr/bin/$bin.ruby3.3 The update-alternatives generic name is not in the filelist. Create it as a symlink to %{_sysconfdir}/alternatives/$(basename generic-name) and add it to the file list. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files FilesCheck 1.0 25.3 BinariesCheck 0.8 19.0 ExtractRpm 0.6 15.0 BuildRootAndDateCheck 0.4 10.9 FilelistCheck 0.4 8.8 BashismsCheck 0.3 8.0 SignatureCheck 0.1 3.5 TOTAL 4.1 100.0 7 packages and 0 specfiles checked; 11 errors, 31 warnings, 196 filtered, 11 badness; has taken 4.4 s