Hi 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? Regards Mathias -- opsi - Open PC-Server-Integration das Open Source Client-Management-System von uib gmbh Mathias Radtke Entwicklung eMail: m.radtke@uib.de Tel. +49 6131 / 27561-01 Fax +49 6131 / 27561-22 uib gmbh Bonifaziusplatz 1B 55118 Mainz Internet: https://uib.de https://opsi.org Geschftsfhrer: Dr. Detlef Oertel, Erol Ülükmen Handelsregister: Amtsgericht Mainz HRB 6942
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);}
participants (2)
-
Mathias Radtke
-
Michael Schroeder