============================ rpmlint session starts ============================ rpmlint: 2.6.1 configuration: /opt/testing/lib/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-railties-7.0.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rails" ruby3.4-rubygem-railties-7.0.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rails-7.0.8.6" ruby3.4-rubygem-railties-7.0.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rails.ruby3.4" 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.4-rubygem-railties-7.0.armv6hl: E: zero-length /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/app/templates/public/apple-touch-icon-precomposed.png ruby3.4-rubygem-railties-7.0.armv6hl: E: zero-length /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/app/templates/public/apple-touch-icon.png ruby3.4-rubygem-railties-7.0.armv6hl: E: zero-length /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/app/templates/public/favicon.ico ruby3.4-rubygem-railties-7.0.armv6hl: E: zero-length /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/generator/templates/templates/.empty_directory ruby3.4-rubygem-railties-7.0.armv6hl: 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.4-rubygem-railties-7.0.armv6hl: W: unexpanded-macro /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/generator/templates/%file_name%_generator.rb.tt %file_name ruby3.4-rubygem-railties-7.0.armv6hl: W: unexpanded-macro /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/generator/templates/%file_name%_generator.rb.tt %_generator ruby3.4-rubygem-railties-7.0.armv6hl: W: unexpanded-macro /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/plugin/templates/%name%.gemspec.tt %name ruby3.4-rubygem-railties-7.0.armv6hl: W: unexpanded-macro /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/plugin/templates/app/controllers/%namespaced_name% %namespaced_name ruby3.4-rubygem-railties-7.0.armv6hl: W: unexpanded-macro /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/plugin/templates/app/controllers/%namespaced_name%/application_controller.rb.tt %namespaced_name ruby3.4-rubygem-railties-7.0.armv6hl: W: unexpanded-macro /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/plugin/templates/app/helpers/%namespaced_name% %namespaced_name ruby3.4-rubygem-railties-7.0.armv6hl: W: unexpanded-macro /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/plugin/templates/app/helpers/%namespaced_name%/application_helper.rb.tt %namespaced_name ruby3.4-rubygem-railties-7.0.armv6hl: W: unexpanded-macro /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/plugin/templates/app/jobs/%namespaced_name% %namespaced_name ruby3.4-rubygem-railties-7.0.armv6hl: W: unexpanded-macro /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/plugin/templates/app/jobs/%namespaced_name%/application_job.rb.tt %namespaced_name ruby3.4-rubygem-railties-7.0.armv6hl: W: unexpanded-macro /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/plugin/templates/app/mailers/%namespaced_name% %namespaced_name ruby3.4-rubygem-railties-7.0.armv6hl: W: unexpanded-macro /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/plugin/templates/app/mailers/%namespaced_name%/application_mailer.rb.tt %namespaced_name ruby3.4-rubygem-railties-7.0.armv6hl: W: unexpanded-macro /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/plugin/templates/app/models/%namespaced_name% %namespaced_name ruby3.4-rubygem-railties-7.0.armv6hl: W: unexpanded-macro /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/plugin/templates/app/models/%namespaced_name%/application_record.rb.tt %namespaced_name ruby3.4-rubygem-railties-7.0.armv6hl: W: unexpanded-macro /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/plugin/templates/app/views/layouts/%namespaced_name% %namespaced_name ruby3.4-rubygem-railties-7.0.armv6hl: W: unexpanded-macro /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/plugin/templates/app/views/layouts/%namespaced_name%/application.html.erb.tt %namespaced_name ruby3.4-rubygem-railties-7.0.armv6hl: W: unexpanded-macro /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/plugin/templates/lib/%namespaced_name% %namespaced_name ruby3.4-rubygem-railties-7.0.armv6hl: W: unexpanded-macro /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/plugin/templates/lib/%namespaced_name%.rb.tt %namespaced_name ruby3.4-rubygem-railties-7.0.armv6hl: W: unexpanded-macro /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/plugin/templates/lib/%namespaced_name%/engine.rb.tt %namespaced_name ruby3.4-rubygem-railties-7.0.armv6hl: W: unexpanded-macro /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/plugin/templates/lib/%namespaced_name%/railtie.rb.tt %namespaced_name ruby3.4-rubygem-railties-7.0.armv6hl: W: unexpanded-macro /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/plugin/templates/lib/%namespaced_name%/version.rb.tt %namespaced_name ruby3.4-rubygem-railties-7.0.armv6hl: W: unexpanded-macro /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/plugin/templates/lib/tasks/%namespaced_name%_tasks.rake.tt %namespaced_name ruby3.4-rubygem-railties-7.0.armv6hl: W: unexpanded-macro /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/plugin/templates/lib/tasks/%namespaced_name%_tasks.rake.tt %_tasks ruby3.4-rubygem-railties-7.0.armv6hl: W: unexpanded-macro /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/plugin/templates/test/%namespaced_name%_test.rb.tt %namespaced_name ruby3.4-rubygem-railties-7.0.armv6hl: W: unexpanded-macro /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/plugin/templates/test/%namespaced_name%_test.rb.tt %_test ruby3.4-rubygem-railties-7.0.armv6hl: W: unexpanded-macro /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/test_unit/plugin/templates/%file_name%_test.rb.tt %file_name ruby3.4-rubygem-railties-7.0.armv6hl: W: unexpanded-macro /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/test_unit/plugin/templates/%file_name%_test.rb.tt %_test This tag contains something that looks like an unexpanded macro; this is often the sign of a misspelling. Please check your specfile. ruby3.4-rubygem-railties-7.0.armv6hl: I: package-supports-update-alternatives ruby3.4-rubygem-railties-7.0.armv6hl: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. rubygem-railties-7.0.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-railties-7.0.armv6hl: W: hidden-file-or-dir /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/generator/templates/templates/.empty_directory The file or directory is hidden. You should see if this is normal, and delete it from the package if not. ruby3.4-rubygem-railties-7.0.armv6hl: W: files-duplicate /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/app/templates/app/views/layouts/mailer.html.erb.tt /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/erb/mailer/templates/layout.html.erb.tt ruby3.4-rubygem-railties-7.0.armv6hl: W: files-duplicate /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/app/templates/app/views/layouts/mailer.text.erb.tt /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/erb/mailer/templates/layout.text.erb.tt ruby3.4-rubygem-railties-7.0.armv6hl: W: files-duplicate /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/test_unit/system/templates/application_system_test_case.rb.tt /usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/app/templates/test/application_system_test_case.rb.tt:/usr/lib/ruby/gems/3.4.0/gems/railties-7.0.8.6/lib/rails/generators/rails/plugin/templates/test/application_system_test_case.rb.tt 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; 6 errors, 34 warnings, 16 filtered, 6 badness; has taken 0.4 s