============================ 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 exim.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /usr/share/doc/packages/exim/doc/cve-2019-13917.rpmmoved" 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 exim.aarch64: E: version-control-internal-file /usr/share/doc/packages/exim/util/.gitignore You have included file(s) internally used by a version control system in the package. Move these files out of the package and rebuild it. exim.aarch64: E: standard-dir-owned-by-package /var/spool/mail This package owns a directory that is part of the standard hierarchy, which can lead to default directory permissions or ownerships being changed to something non-standard. exim.aarch64: W: potential-bashisms /usr/sbin/exiwhat checkbashisms reported potential bashisms in a /bin/sh shell script, you might want to manually check this script for bashisms. exim.aarch64: W: permissions-missing-verifyscript missing %verify_permissions -e /usr/sbin/exim Please add a %verifyscript section exim.spec:28: E: obsolete-suse-version-check 1199 exim.spec:87: E: obsolete-suse-version-check 1220 The specfile contains a comparison of %suse_version against a suse release that is no longer in maintenance. Consider removing obsolete parts of your spec file to make it more readable. exim.aarch64: W: non-etc-or-var-file-marked-as-conffile /usr/share/apparmor/extra-profiles/usr.sbin.exim A file not in /etc or /var is marked as being a configuration file (%config). Please put your configuration files in /etc or /var. eximstats-html.aarch64: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. exim.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. exim.aarch64: W: name-repeated-in-summary Exim eximon.aarch64: W: name-repeated-in-summary Eximon exim.src: W: name-repeated-in-summary Exim The name of the package is repeated in its summary. Make the summary brief and to the point without including redundant information in it. exim.spec:247: W: macro-in-comment %{_sysconfdir} exim.spec:248: W: macro-in-comment %{_localstatedir} exim.spec:333: W: macro-in-comment %{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. exim.aarch64: W: hidden-file-or-dir /usr/share/doc/packages/exim/util/.gitignore The file or directory is hidden. You should see if this is normal, and delete it from the package if not. exim.aarch64: E: filelist-forbidden-fhs23 /var/mail File violates FHS 2.3. exim.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/sbin/exim The binary calls gethostbyname. Please port the code to use getaddrinfo. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files BashismsCheck 1.3 71.3 BinariesCheck 0.2 9.1 ExtractRpm 0.1 7.2 TOTAL 1.9 100.0 4 packages and 0 specfiles checked; 6 errors, 13 warnings, 41 filtered, 6 badness; has taken 1.9 s