On Fri, Aug 30, 2019 at 07:49:51AM +0200, Mathias Radtke wrote:
on SLES15-SP1 we get the following Error in one of our packages:
opsi-linux-bootimage.noarch: E: arch-independent-package-contains-binary-or-object (Badness: 499) /var/lib/tftpboot/grub/x86_64-efi/regexp.mod The package contains a binary or object file but is tagged noarch.
I've read that:
%define _binaries_in_noarch_packages_terminate_build 0
in the spec file should fix the problem, but on SLES15 SP1 it doesn't seem to work.
That's a rpm flag, but it's rpmlint that reports that error. You need to add a 'rpmlintrc' file that filters out this error. E.g. with the following content: addFilter('arch-independent-package-contains-binary-or-object') Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org