============================ rpmlint session starts ============================ rpmlint: 2.8.0 configuration: /opt/testing/lib64/python3.13/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/ndctl-rpmlintrc checks: 41, packages: 4 ndctl.aarch64: E: systemd-service-without-service_add_pre cxl-monitor.service The package contains a systemd service but doesn't contain a %pre with a call to service_add_pre. ndctl.aarch64: E: systemd-service-without-service_add_post cxl-monitor.service The package contains a systemd service but doesn't contain a %post with a call to service_add_post. ndctl.aarch64: W: non-conffile-in-etc /etc/ndctl/keys/keys.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. ndctl.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. ndctl.aarch64: W: files-duplicate /usr/share/bash-completion/completions/ndctl /usr/share/bash-completion/completions/cxl:/usr/share/bash-completion/completions/daxctl 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.4 41.0 BinariesCheck 0.2 24.1 TOTAL 0.9 100.0 4 packages and 0 specfiles checked; 2 errors, 3 warnings, 22 filtered, 2 badness; has taken 0.9 s