============================ rpmlint session starts ============================ rpmlint: 2.6.1 configuration: /opt/testing/lib/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 rpmlintrc: /home/abuild/rpmbuild/SOURCES/selinux-policy-rpmlintrc checks: 41, packages: 7 selinux-policy-minimum.noarch: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /var/lib/selinux/minimum/active/policy.linked" selinux-policy-minimum.noarch: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /var/lib/selinux/minimum/active/seusers.linked" selinux-policy-minimum.noarch: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /var/lib/selinux/minimum/active/users_extra.linked" selinux-policy-targeted.noarch: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /var/lib/selinux/targeted/active/policy.linked" selinux-policy-targeted.noarch: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /var/lib/selinux/targeted/active/seusers.linked" selinux-policy-targeted.noarch: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /var/lib/selinux/targeted/active/users_extra.linked" 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 selinux-policy-minimum.noarch: E: zero-length /etc/selinux/minimum/contexts/files/file_contexts.local selinux-policy-minimum.noarch: E: zero-length /etc/selinux/minimum/contexts/files/file_contexts.subs selinux-policy-minimum.noarch: E: zero-length /var/lib/selinux/minimum/semanage.read.LOCK selinux-policy-minimum.noarch: E: zero-length /var/lib/selinux/minimum/semanage.trans.LOCK selinux-policy-targeted.noarch: E: zero-length /etc/selinux/targeted/contexts/files/file_contexts.local selinux-policy-targeted.noarch: E: zero-length /etc/selinux/targeted/contexts/files/file_contexts.subs selinux-policy-targeted.noarch: E: zero-length /var/lib/selinux/targeted/semanage.read.LOCK selinux-policy-targeted.noarch: E: zero-length /var/lib/selinux/targeted/semanage.trans.LOCK selinux-policy.src: E: unused-rpmlintrc-filter "W: zero-length /etc/selinux/.*" selinux-policy.src: E: unused-rpmlintrc-filter "W: hidden-file-or-dir /etc/selinux/mls/.policy.sha512" selinux-policy.src: E: unused-rpmlintrc-filter "E: files-duplicated-waste" selinux-policy.src: E: unused-rpmlintrc-filter "W: zero-length" selinux-policy-devel.noarch: E: non-executable-script /usr/share/selinux/devel/include/support/segenxml.py 644 /usr/bin/python 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. selinux-policy.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. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files FilesCheck 1.5 34.0 ExtractRpm 1.2 27.1 SUIDPermissionsCheck 0.4 8.8 BuildRootAndDateCheck 0.4 8.6 BashismsCheck 0.3 5.6 SignatureCheck 0.2 5.1 FilelistCheck 0.2 3.7 TOTAL 4.5 100.0 7 packages and 0 specfiles checked; 13 errors, 7 warnings, 3526 filtered, 13 badness; has taken 4.7 s