https://bugzilla.redhat.com/show_bug.cgi?id=2073765
--- Comment #3 from Jakub Kadlčík jkadlcik@redhat.com ---
This tool will take user-space emulators, e.g. qemu-user into account. For example, it will return ok for riscv if qemu-user-static-riscv is installed, no matter what is the native arch.
Thank you for the explanation
BuildRequires: binutils-riscv64-linux-gnu BuildRequires: binutils-aarch64-linux-gnu BuildRequires: binutils-alpha-linux-gnu BuildRequires: binutils-arc-linux-gnu ...
Are these really needed? I removed all the binutils-* BuildRequires and the package still successfully builds in Copr for all Fedora chroots and architectures.
%{_bindir}/* %{_prefix}/lib/* %{_mandir}/man1/*
Please be more specific here, for example
%{_bindir}/%{name} %{_bindir}/elf-arch ...
arch-test.noarch: E: arch-independent-package-contains-binary-or-object /usr/lib/arch-test/alpha arch-test.noarch: E: arch-independent-package-contains-binary-or-object /usr/lib/arch-test/amd64 arch-test.noarch: E: arch-independent-package-contains-binary-or-object /usr/lib/arch-test/arm64
Fedora-review tool returns these in the Rpmlint section but if I understand correctly, this is done intentionally.