============================ 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 checks: 41, packages: 6 binutils.armv7hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/ld" 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 binutils.armv7hl: E: update-alternatives-postun-call-missing binutils-gold.armv7hl: E: update-alternatives-postun-call-missing The package does not call update-alternatives --remove in postun phase to remove all the configuration for each individual --install binary that was done in postun. binutils.armv7hl: I: package-supports-update-alternatives binutils-gold.armv7hl: I: package-supports-update-alternatives binutils.spec:181: E: obsolete-suse-version-check 1310 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. binutils.armv7hl: W: name-repeated-in-summary Binutils binutils.src: W: name-repeated-in-summary Binutils The name of the package is repeated in its summary. Make the summary brief and to the point without including redundant information in it. binutils.spec:392: W: macro-in-comment %{suse_version} binutils.spec:394: W: macro-in-comment %endif 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. binutils.armv7hl: E: filelist-forbidden-fhs23 /usr/armv7hl-suse-linux-gnueabi File violates FHS 2.3. binutils-gold.armv7hl: E: alternative-link-missing /etc/alternatives/ld The file %{_sysconfdir}/alternatives/$(basename generic-name) is missing in the file list. Mark it as %ghost and add it to the file list. binutils-gold.armv7hl: E: alternative-generic-name-missing /usr/bin/ld The update-alternatives generic name is not in the filelist. Create it as a symlink to %{_sysconfdir}/alternatives/$(basename generic-name) and add it to the file list. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files ExtractRpm 1.2 28.3 BinariesCheck 1.0 24.2 BashismsCheck 0.5 12.7 FilesCheck 0.4 8.8 SUIDPermissionsCheck 0.3 6.5 SignatureCheck 0.3 6.4 BuildRootAndDateCheck 0.2 5.3 SpecCheck 0.1 2.8 TOTAL 4.1 100.0 6 packages and 0 specfiles checked; 6 errors, 5 warnings, 540 filtered, 6 badness; has taken 4.2 s