From ba7de5fcc7c270ab70dca1d34d6ef8ce3a17d590 Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Apr 25 2024 16:21:47 +0000 Subject: Golang: adjust Go architectures documentation --- diff --git a/guidelines/modules/ROOT/pages/Golang.adoc b/guidelines/modules/ROOT/pages/Golang.adoc index de0be1e..769ca15 100644 --- a/guidelines/modules/ROOT/pages/Golang.adoc +++ b/guidelines/modules/ROOT/pages/Golang.adoc @@ -275,7 +275,14 @@ see upstream issue#13192), s390x, armv7hl and aarch64. Binaries SHOULD set ExclusiveArch so that we only attempt to build packages on those arches. This is now automatically added by the `+%gometa+` macro by leveraging the -`+%{go_arches}+` macro. +`+%{golang_arches}+` macro. +Packagers can exclude `+%ix86+` +(see https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval[Changes/EncourageI686LeafRemoval]) +by passing `+-f+` to the `+%gometa+` macro. +The `+-f+` flag tells `+%gometa+` to set `+ExclusiveArch: %{golang_arches_future}+` +instead of `+ExclusiveArch: %{golang_arches}+`. +`+%{golang_arches_future}+` includes the same architectures as +`+{golang_arches}+` sans `+%ix86+`. == Dependencies