Hi, On Wed, 12 Jul 2017, Mathias Homann wrote:
So you're basically saying if I want a -32bit.x86_64 package I need to enable building *and publishing* for i586, there is *no* other way?
I don't know why you'd want this, but yes, there is another way; but as Jan already said it's unlikely to pass Factory review, and is more manual work. You modify your package to also build 32bit libraries by hand: -m32 into CFLAGS and the like, install them into /usr/lib and create the -32bit subpackage with those libs yourself. You'll have to add all the necessary -32bit variants of each BuildRequire by hand. And you have to do all that only conditional for some architectures (e.g. no 32bit libs for ppc64le). Keep in mind that this generates slightly different code than a build in the i586 tree would (different GCC default config), but that shouldn't matter in most circumstances. If you don't have a better reason than "I don't want the i586 target in my repo" I'd suggest to adjust your wishes and not your packages. There's nothing "dirty" about the i586 tree :) Ciao, Michael.
On 12.07.2017 11:08, Marcus Meissner wrote:
Hi,
it needs a i586 build target.... But it looks good currently.
Ciao, Marcus On Tue, Jul 11, 2017 at 08:55:15PM -0400, Darin Perusich wrote:
See https://build.opensuse.org/package/show/security/pam-google-authenticator for an example.
-- Later, Darin
On Tue, Jul 11, 2017 at 5:07 PM, Marcus Meissner <meissner@suse.de> wrote:
On Tue, Jul 11, 2017 at 07:04:30PM +0200, Mathias Homann wrote:
hi,
is there a way to build -32bit packages for libraries without having a i586 build target? Not really... what do you have?
osc build on x86_64 would switch to the 32bit personality if needed.
Ciao, Marcus
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org