============================ 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: 19 dnf5-plugin-automatic.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/motd.d/dnf5-automatic" 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 dnf5.aarch64: E: systemd-service-without-service_del_preun dnf5-offline-transaction-cleanup.service dnf5.aarch64: E: systemd-service-without-service_del_preun dnf5-offline-transaction.service dnf5.aarch64: E: systemd-service-without-service_del_preun dnf5-offline-transaction.service dnf5-plugin-automatic.aarch64: E: systemd-service-without-service_del_preun dnf-automatic.service dnf5-plugin-automatic.aarch64: E: systemd-service-without-service_del_preun dnf5-automatic.service The package contains a systemd service but doesn't contain a %preun with a call to service_del_preun. dnf5.aarch64: E: systemd-service-without-service_del_postun dnf5-offline-transaction-cleanup.service dnf5.aarch64: E: systemd-service-without-service_del_postun dnf5-offline-transaction.service dnf5.aarch64: E: systemd-service-without-service_del_postun dnf5-offline-transaction.service dnf5-plugin-automatic.aarch64: E: systemd-service-without-service_del_postun dnf-automatic.service dnf5-plugin-automatic.aarch64: E: systemd-service-without-service_del_postun dnf5-automatic.service The package contains a systemd service but doesn't contain a %postun with a call to service_del_postun. dnf5.aarch64: E: systemd-service-without-service_add_pre dnf5-offline-transaction-cleanup.service dnf5.aarch64: E: systemd-service-without-service_add_pre dnf5-offline-transaction.service dnf5.aarch64: E: systemd-service-without-service_add_pre dnf5-offline-transaction.service dnf5-plugin-automatic.aarch64: E: systemd-service-without-service_add_pre dnf-automatic.service dnf5-plugin-automatic.aarch64: E: systemd-service-without-service_add_pre dnf5-automatic.service dnf5daemon-server.aarch64: E: systemd-service-without-service_add_pre dnf5daemon-server.service The package contains a systemd service but doesn't contain a %pre with a call to service_add_pre. dnf5.aarch64: E: systemd-service-without-service_add_post dnf5-offline-transaction-cleanup.service dnf5.aarch64: E: systemd-service-without-service_add_post dnf5-offline-transaction.service dnf5.aarch64: E: systemd-service-without-service_add_post dnf5-offline-transaction.service dnf5-plugin-automatic.aarch64: E: systemd-service-without-service_add_post dnf-automatic.service dnf5-plugin-automatic.aarch64: E: systemd-service-without-service_add_post dnf5-automatic.service The package contains a systemd service but doesn't contain a %post with a call to service_add_post. libdnf5-cli2.aarch64: W: shlib-fixed-dependency libdnf5_2(aarch-64) = 5.2.3.0-2.1 Your shared library package requires a fixed version of another package. The intention of the Shared Library Policy is to allow parallel installation of multiple versions of the same shared library, hard dependencies likely make that impossible. Please remove this dependency and instead move it to the runtime uses of your library. dnf5.aarch64: W: non-etc-or-var-file-marked-as-conffile /usr/share/dnf5/aliases.d/compatibility.conf A file not in /etc or /var is marked as being a configuration file (%config). Please put your configuration files in /etc or /var. dnf5.aarch64: W: non-conffile-in-etc /etc/dnf/dnf5-aliases.d/README A non-executable file in your package is being installed in /etc, but is not a configuration file. All non-executable files in /etc should be configuration files. Mark the file as %config in the spec file. perl-libdnf5.aarch64: E: no-dependency-on perl-base 5.40.0 perl-libdnf5-cli.aarch64: E: no-dependency-on perl-base 5.40.0 python3-libdnf5-python-plugins-loader.aarch64: E: no-dependency-on python-base 3.11 dnf5-devel.aarch64: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. dnf5.spec:360: W: macro-in-comment %{libsolv_version} 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. dnf5.aarch64: E: incorrect-locale-subdir /usr/share/locale/zh_Hans/LC_MESSAGES/dnf5.mo dnf5.aarch64: W: ghost-files-without-postin dnf5.aarch64: W: ghost-files-without-postin dnf5.aarch64: W: ghost-files-without-postin dnf5.aarch64: W: ghost-files-without-postin dnf5.aarch64: W: ghost-files-without-postin dnf5.aarch64: W: ghost-files-without-postin dnf5.aarch64: W: ghost-files-without-postin dnf5.aarch64: W: ghost-files-without-postin dnf5.aarch64: W: ghost-files-without-postin dnf5-plugin-automatic.aarch64: W: ghost-files-without-postin Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files BinariesCheck 1.4 43.3 ExtractRpm 0.8 25.3 SharedLibraryPolicyCheck 0.3 10.0 SignatureCheck 0.3 8.6 BashismsCheck 0.1 3.4 TOTAL 3.1 100.0 19 packages and 0 specfiles checked; 26 errors, 15 warnings, 135 filtered, 26 badness; has taken 3.2 s