============================ 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/tpm2.0-abrmd.rpmlintrc checks: 41, packages: 5 tpm2.0-abrmd-selinux.noarch: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /var/lib/selinux/targeted/active/modules/200/tabrmd" 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 tpm2.0-abrmd.src: E: unused-rpmlintrc-filter "shared-lib-calls-exit */usr/lib64/libtss2-tcti-tabrmd.so*" tpm2.0-abrmd.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. tpm2.0-abrmd.spec:23: W: macro-in-comment %{suse_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. tpm2.0-abrmd-selinux.noarch: E: explicit-lib-dependency libselinux-utils tpm2.0-abrmd.x86_64: E: explicit-lib-dependency libtss2-tcti-device0 tpm2.0-abrmd.x86_64: E: explicit-lib-dependency libtss2-tcti-tabrmd0 You must let rpm find the library dependencies by itself. Do not put unneeded explicit Requires: tags. tpm2.0-abrmd.x86_64: W: dbus-policy-allow-receive /usr/share/dbus-1/system.d/tpm2-abrmd.conf tpm2.0-abrmd.x86_64: W: dbus-policy-allow-receive /usr/share/dbus-1/system.d/tpm2-abrmd.conf tpm2.0-abrmd.x86_64: W: dbus-policy-allow-receive /usr/share/dbus-1/system.d/tpm2-abrmd.conf tpm2.0-abrmd.x86_64: W: dbus-policy-allow-receive /usr/share/dbus-1/system.d/tpm2-abrmd.conf allow receive_* is normally not needed as that is the default. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files TOTAL 0.2 100.0 5 packages and 0 specfiles checked; 4 errors, 7 warnings, 13 filtered, 4 badness; has taken 0.2 s