============================ rpmlint session starts ============================ rpmlint: 2.5.0 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/bsd-games-rpmlintrc checks: 41, packages: 2 bsd-games.spec:78: 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. Even if some packages don't directly need it, section markers may be overridden in rpm's configuration to provide additional 'under the hood' functionality. Add the section, even if empty. bsd-games.x86_64: 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:134: W: macro-in-comment %attr bsd-games.spec:134: W: macro-in-comment %{_localstatedir} bsd-games.spec:135: W: macro-in-comment %attr bsd-games.spec:135: 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.x86_64: 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.x86_64: 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.4 50.2 BashismsCheck 0.3 31.9 TOTAL 0.9 100.0 2 packages and 0 specfiles checked; 2 errors, 7 warnings, 45 filtered, 2 badness; has taken 0.9 s