On Wed, Sep 15, 2021 at 12:25:04PM +0000, Mathias Radtke wrote:
we are currently struggling to build a package for RPM systems. This package contains various libraries and prebuild binaries for x86_64 and aarch64 architecure. How can we create one rpm package that includes both binaries and installs them, depending on the machine arhcitecture?
Using BuildArch: noarch did fail. Not using any BuildArch entry in the spec file results in
arch-independent-package-contains-binary-or-object
Is there any way to disable this check or how to create one mutliarch package?
This looks to me like a rpmlint check. So you'll need to disable that specific check with a rpmlintrc entry. For SUSE packages this can be done with adding a "<pkgname>.rpmlintrc" file that contains the line: addFilter("arch-independent-package-contains-binary-or-object") Cheers, Michael. -- Michael Schroeder SUSE Software Solutions Germany GmbH mls@suse.de GF: Felix Imendoerffer HRB 36809, AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}