============================ 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: 4 ntp.aarch64: E: zero-length /var/lib/ntp/kod ntp.aarch64: E: symlink-contains-up-and-down-segments /var/lib/ntp/var/lib/ntp ../.. ntp-doc.aarch64: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. ntp.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. ntp.aarch64: E: logrotate-log-dir-not-packaged /var/log Please add the specified directory to the file list to be able to check permissions. ntp-doc.aarch64: W: files-duplicate /usr/share/doc/packages/ntp-doc/html/icons/home.gif /usr/share/doc/packages/ntp-doc/html/drivers/icons/home.gif ntp-doc.aarch64: W: files-duplicate /usr/share/doc/packages/ntp-doc/html/icons/mail2.gif /usr/share/doc/packages/ntp-doc/html/drivers/icons/mail2.gif ntp-doc.aarch64: W: files-duplicate /usr/share/doc/packages/ntp-doc/html/scripts/style.css /usr/share/doc/packages/ntp-doc/html/drivers/scripts/style.css Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. ntp.aarch64: E: dir-or-file-in-etc-NetworkManager-dispatcher.d /etc/NetworkManager/dispatcher.d ntp.aarch64: E: dir-or-file-in-etc-NetworkManager-dispatcher.d /etc/NetworkManager/dispatcher.d/ntp A file in the package is located in /etc/NetworkManager/dispatcher.d. It's not permitted for packages to install files in this directory. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files BashismsCheck 0.2 25.4 BinariesCheck 0.2 24.5 ExtractRpm 0.2 17.3 TOTAL 0.9 100.0 4 packages and 0 specfiles checked; 6 errors, 4 warnings, 31 filtered, 6 badness; has taken 0.9 s