============================ rpmlint session starts ============================ rpmlint: 2.6.1 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 checks: 41, packages: 7 dnf-data.noarch: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /usr/lib/sysimage/dnf/groups.json" dnf-data.noarch: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /usr/lib/sysimage/dnf/history" dnf-data.noarch: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /usr/lib/sysimage/dnf/yumdb" dnf-data.noarch: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /var/log/dnf.librepo.log" dnf-data.noarch: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /var/log/dnf.plugin.log" dnf-data.noarch: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /var/log/dnf.rpm.log" dnf-data.noarch: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /var/log/hawkey.log" 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 dnf.noarch: E: systemd-service-without-service_del_preun dnf-makecache.service dnf-automatic.noarch: E: systemd-service-without-service_del_preun dnf-automatic-download.service dnf-automatic.noarch: E: systemd-service-without-service_del_preun dnf-automatic-install.service dnf-automatic.noarch: E: systemd-service-without-service_del_preun dnf-automatic-notifyonly.service dnf-automatic.noarch: E: systemd-service-without-service_del_preun dnf-automatic.service The package contains a systemd service but doesn't contain a %preun with a call to service_del_preun. dnf.noarch: E: systemd-service-without-service_add_pre dnf-makecache.service dnf-automatic.noarch: E: systemd-service-without-service_add_pre dnf-automatic-download.service dnf-automatic.noarch: E: systemd-service-without-service_add_pre dnf-automatic-install.service dnf-automatic.noarch: E: systemd-service-without-service_add_pre dnf-automatic-notifyonly.service dnf-automatic.noarch: E: systemd-service-without-service_add_pre dnf-automatic.service The package contains a systemd service but doesn't contain a %pre with a call to service_add_pre. dnf.noarch: E: systemd-service-without-service_add_post dnf-makecache.service dnf-automatic.noarch: E: systemd-service-without-service_add_post dnf-automatic-download.service dnf-automatic.noarch: E: systemd-service-without-service_add_post dnf-automatic-install.service dnf-automatic.noarch: E: systemd-service-without-service_add_post dnf-automatic-notifyonly.service dnf-automatic.noarch: E: systemd-service-without-service_add_post dnf-automatic.service The package contains a systemd service but doesn't contain a %post with a call to service_add_post. dnf-data.noarch: W: post-without-tmpfile-creation /usr/lib/tmpfiles.d/dnf.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). python3-dnf.noarch: W: obsolete-not-provided python2-dnf If a package is obsoleted by a compatible replacement, the obsoleted package should also be provided in order to not cause unnecessary dependency breakage. If the obsoleting package is not a compatible replacement for the old one, leave out the Provides. python3-dnf.noarch: E: non-executable-script /usr/lib/python3.11/site-packages/dnf/cli/completion_helper.py 644 /usr/bin/python3 This text file contains a shebang or is located in a path dedicated for executables, but lacks the executable bits and cannot thus be executed. If the file is meant to be an executable script, add the executable bits, otherwise remove the shebang or move the file elsewhere. yum.noarch: W: name-repeated-in-summary Yum The name of the package is repeated in its summary. Make the summary brief and to the point without including redundant information in it. dnf-data.noarch: E: logrotate-log-dir-not-packaged /var/log Please add the specified directory to the file list to be able to check permissions. dnf-lang.noarch: E: incorrect-locale-subdir /usr/share/locale/zh_Hans/LC_MESSAGES/dnf.mo dnf-data.noarch: E: incoherent-logrotate-file /etc/logrotate.d/dnf Your logrotate file should be named /etc/logrotate.d/. dnf.noarch: W: files-duplicate /usr/bin/dnf4 /usr/bin/dnf 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 ExtractRpm 0.2 34.9 TOTAL 0.6 100.0 7 packages and 0 specfiles checked; 19 errors, 11 warnings, 57 filtered, 19 badness; has taken 0.6 s