============================ 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-changelog_generator.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/changelog-generator" ruby3.3-rubygem-changelog_generator.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/changelog-generator-0.3.0" ruby3.3-rubygem-changelog_generator.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/changelog-generator.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-changelog_generator.aarch64: E: version-control-internal-file /usr/lib64/ruby/gems/3.3.0/gems/changelog_generator-0.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. ruby3.3-rubygem-changelog_generator.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-changelog_generator.aarch64: E: script-without-shebang /usr/lib64/ruby/gems/3.3.0/gems/changelog_generator-0.3.0/LICENSE 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. ruby3.3-rubygem-changelog_generator.aarch64: I: package-supports-update-alternatives rubygem-changelog-generator.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-changelog_generator.aarch64: W: hidden-file-or-dir /usr/lib64/ruby/gems/3.3.0/gems/changelog_generator-0.3.0/.gitignore The file or directory is hidden. You should see if this is normal, and delete it from the package if not. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files TOTAL 0.1 100.0 2 packages and 0 specfiles checked; 3 errors, 5 warnings, 18 filtered, 3 badness; has taken 0.1 s