============================ rpmlint session starts ============================ rpmlint: 2.8.0 configuration: /opt/testing/lib/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/dovecot-rpmlintrc checks: 42, packages: 9 dovecot24.armv7hl: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/dovecot/dovecot-pigeonhole/rfc/draft-duerst-mailto-bis-05.txt This file has wrong end-of-line encoding, usually caused by creation or modification on a non-Unix system. It could prevent it from being displayed correctly in some circumstances. dovecot24-devel.armv7hl: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. dovecot24.spec:399: W: macro-in-comment %{buildroot} dovecot24.spec:399: W: macro-in-comment %{_sysconfdir} dovecot24.spec:399: W: macro-in-comment %{pkg_name} 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. dovecot24.armv7hl: W: files-duplicate /usr/share/dovecot/mkcert.sh /usr/share/doc/packages/dovecot/mkcert.sh Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. dovecot24.armv7hl: E: env-script-interpreter (Badness: 9) /usr/lib/dovecot/settings-history.py /usr/bin/env python3 This script uses 'env' as an interpreter. For the rpm runtime dependency detection to work, the shebang #!/usr/bin/env needs to be patched into #!/usr/bin/ otherwise the package dependency generator merely adds a dependency on /usr/bin/env rather than the actual interpreter /usr/bin/. Alternatively, if the file should not be executed, then ensure that it is not marked as executable or don't install it in a path that is reserved for executables. dovecot24.armv7hl: W: dir-or-file-outside-snapshot /var/lib/dovecot The package contains files outside the snapshot, e.g. outside /etc and /usr or inside /usr/local. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files BinariesCheck 2.8 43.2 ExtractRpm 2.5 38.8 BashismsCheck 0.4 6.1 SignatureCheck 0.2 3.2 FilesCheck 0.2 2.5 SpecCheck 0.1 1.7 TOTAL 6.4 100.0 9 packages and 0 specfiles checked; 2 errors, 6 warnings, 76 filtered, 10 badness; has taken 6.5 s