============================ 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 rpmlintrc: /home/abuild/rpmbuild/SOURCES/ooRexx-rpmlintrc checks: 41, packages: 3 ooRexx.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rexx" ooRexx.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rexx.1" ooRexx.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rexxc" ooRexx.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rexxc.1" ooRexx.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rxqueue" ooRexx.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rxqueue.1" ooRexx.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/rxsubcom.1" ooRexx-devel.armv6hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/oorexx-config.1" 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 ooRexx.armv6hl: E: wrong-script-end-of-line-encoding /usr/share/ooRexx/sscclient.rex This script has wrong end-of-line encoding, usually caused by creation or modification on a non-Unix system. It will prevent its execution. ooRexx-devel.armv6hl: E: update-alternatives-requirement-missing The package does not have update-alternatives in Requires(post) or Requires(postun). This is needed for the proper scriptlet execution. ooRexx.armv6hl: E: update-alternatives-postun-call-missing ooRexx-devel.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. ooRexx.src: E: unused-rpmlintrc-filter "file-contains-current-date.*/librexx.so.*" ooRexx.armv6hl: W: symlink-to-binary-with-shebang /usr/bin/rexxtry.rex is a link to a script (/usr/share/ooRexx/rexxtry.rex) but missing requires for /usr/bin/rexx A file in /usr/bin is a link to a script in a different place with a shebang. rpm won't be able to inject the needed interpreter as dependency, so it should be done manually. ooRexx.spec: E: superfluous-%clean-section The spec section %clean should not be used any longer. RPM provides its own clean logic. ooRexx.armv6hl: I: package-supports-update-alternatives ooRexx-devel.armv6hl: I: package-supports-update-alternatives ooRexx.spec:97: E: obsolete-suse-version-check 1230 The specfile contains a comparison of %suse_version against a suse release that is no longer in maintenance. Consider removing obsolete parts of your spec file to make it more readable. ooRexx-devel.armv6hl: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. ooRexx.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. ooRexx.armv6hl: W: binary-or-shlib-calls-gethostbyname /usr/bin/rxapi ooRexx.armv6hl: W: binary-or-shlib-calls-gethostbyname /usr/lib/librexxapi.so.4.0.6 ooRexx.armv6hl: W: binary-or-shlib-calls-gethostbyname /usr/lib/librxsock.so.4.0.6 The binary calls gethostbyname. Please port the code to use getaddrinfo. ooRexx.armv6hl: E: alternative-link-missing /etc/alternatives/$f ooRexx.armv6hl: E: alternative-link-missing /etc/alternatives/${NAME} The file %{_sysconfdir}/alternatives/$(basename generic-name) is missing in the file list. Mark it as %ghost and add it to the file list. ooRexx.armv6hl: E: alternative-generic-name-missing /usr/bin/$f ooRexx.armv6hl: E: alternative-generic-name-missing /usr/share/man/man1/${NAME} ooRexx-devel.armv6hl: E: alternative-generic-name-missing /usr/share/man/man1/oorexx-config.1 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 BinariesCheck 0.5 46.0 BashismsCheck 0.4 31.6 ExtractRpm 0.1 9.7 TOTAL 1.1 100.0 3 packages and 0 specfiles checked; 13 errors, 13 warnings, 92 filtered, 13 badness; has taken 1.1 s