agama/service/package
Ladislav Slezák 87a04f1769
Do not build on 32bit architectures (and PPC64-BE) (bsc#1251846) (#2880)
## Problem

- https://bugzilla.suse.com/show_bug.cgi?id=1251846
- Agama does not build on i586
- The reason is that the dependant libsuseconnect does not support that
architecture (because of [this
line](5a200487c5/internal/util/system.go (L24-L27)))

## Solution

- Disable the same architectures also in Agama builds, use [the same
line](5a200487c5/build/packaging/suseconnect-ng.spec (L42))
from libsuseconnect to be compatible with it (this also disables build
on PPC64-BE)
- I was wondering whether `ExcludeArch` is allowed for noarch packages
but the [Fedora packaging
documentation](https://docs.fedoraproject.org/en-US/packaging-guidelines/#_noarch_with_unported_dependencies)
actually suggests this approach exactly for this situation.

## Testing

- Tested manually with agama-web-ui, the package built fine locally
2025-11-20 11:58:48 +01:00
..
_multibuild let OBS build the second spec file too 2024-11-07 10:51:16 +01:00
gem2rpm.yml Version of yast2-iscsi-client fixing bsc#1247711 2025-10-31 14:34:28 +01:00
install_translations.sh Package the Ruby service translations 2023-12-19 14:31:57 +01:00
rubygem-agama-yast.changes Do not build on 32bit architectures (and PPC64-BE) (bsc#1251846) (#2880) 2025-11-20 11:58:48 +01:00