============================ 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: 11 rrdtool-cached.i586: W: zero-perms-ghost Suggestion: "%ghost %attr(0755,rrdcached,rrdcached) /run/rrdcached" 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 rrdtool.spec:385: W: python-sitelib-glob-in-files %{python_sitearch}/* The %files section contains "%{python_sitelib}/*" or "%{python_sitearch}/*" that can get something not wanted in the package. Please use a more specific file path like: %{python_sitelib}/packagename %{python_sitelib}/packagename-%{version}*-info rrdtool-cached.i586: W: post-without-tmpfile-creation /usr/lib/tmpfiles.d/rrdcached.conf Please use the %tmpfiles_create macro in %post for each of your tmpfiles.d files if you expect this file or directory to be available after package installation (and before reboot). rrdtool.i586: W: package-with-huge-docs 50% More than half the size of your package is documentation. Consider splitting it into a -doc subpackage. tcl-rrdtool.i586: W: no-soname /usr/lib/tclrrd1.9.0.so The library has no soname. rrdtool-devel.i586: E: no-binary rrdtool-doc.i586: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. rrdtool-cached.i586: E: missing-call-to-setgroups-before-setuid /usr/bin/rrdcached 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. tcl-rrdtool.i586: E: env-script-interpreter (Badness: 9) /usr/lib/tcl/tclrrd1.9.0/ifOctets.tcl /usr/bin/env tclsh8.6 This script uses 'env' as an interpreter. For the rpm runtime dependency detection to work, the shebang #!/usr/bin/env needs to be patched into #!/usr/bin/ otherwise the package dependency generator merely adds a dependency on /usr/bin/env rather than the actual interpreter /usr/bin/. Alternatively, if the file should not be executed, then ensure that it is not marked as executable or don't install it in a path that is reserved for executables. python3-rrdtool.i586: W: description-shorter-than-summary The package description should be longer than the summary. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files ExtractRpm 0.2 25.8 BashismsCheck 0.2 20.7 BinariesCheck 0.2 20.5 SignatureCheck 0.2 16.6 TOTAL 0.9 100.0 11 packages and 0 specfiles checked; 4 errors, 6 warnings, 31 filtered, 12 badness; has taken 1.0 s