On Tue, 2022-12-06 at 11:52 +0100, Dan Čermák wrote:
Dominique Leuenberger / DimStar <dimstar@opensuse.org> writes:
And besides that, it would still give us two packages with the exact same name in the repo as the rpm would still be called NVR.x86_64.rpm; for this, rpm would need to learn about it (or we rename all packages to N_v3-V-R.x86_64.rpm for that - which in turn requires creating _multibuild for everything (to add a second flavor, as a 2nd repo would use the same names) and manual overrides of the optflags (of course via macros).
There's been a bit of discussion around supporting sub-architectures in RPM (e.g. [1]), but I haven't seen any clear progress in this regard. Introducing hacks like _multibuild for many packages will unfortunately further degrade the packager UX, which I'd like to avoid.
Absolutely! This is nothing I'd want to promote at all; it was more to show that to get 'multiple sub archs built', we need proper support by the underlying tooling (zypper, rpm, OBS) Cheers, Dominique