============================ 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/bsd-games-rpmlintrc checks: 41, packages: 2 bsd-games.spec:80: E: rpm-buildroot-usage %build (echo %{buildroot} $RPM_BUILD_ROOT or %{buildroot} must not be touched during %build or %prep stage, as it will break short circuit builds and will not persist to %install stage in a normal build, leading to unexpected package build behavior. bsd-games.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. bsd-games.armv7hl: E: missing-call-to-setgroups-before-setuid /usr/bin/hack This executable is calling setuid and setgid without setgroups or initgroups. This means it didn't relinquish all groups, and this would be a potential security issue. bsd-games.spec:135: W: macro-in-comment %attr bsd-games.spec:135: W: macro-in-comment %{_localstatedir} bsd-games.spec:136: W: macro-in-comment %attr bsd-games.spec:136: W: macro-in-comment %{_localstatedir} There is a unescaped macro after a shell style comment in the specfile. Macros are expanded everywhere, so check if it can cause a problem in this case and escape the macro with another leading % if appropriate. bsd-games.armv7hl: W: files-duplicate /usr/share/man/man6/ppt.6.gz /usr/share/man/man6/morse.6.gz Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. bsd-games.armv7hl: W: binary-or-shlib-calls-gethostbyname /usr/bin/hunt The binary calls gethostbyname. Please port the code to use getaddrinfo. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files BinariesCheck 0.6 41.1 BashismsCheck 0.4 28.3 ExtractRpm 0.4 25.3 TOTAL 1.6 100.0 2 packages and 0 specfiles checked; 2 errors, 7 warnings, 44 filtered, 2 badness; has taken 1.6 s