Build only on golang arches

go-md2man is a build requirement, and is therefore limited by golang
arches, and therefore does not build on i686 in RHEL 10.  The build
arches can be limited while still remaining a noarch RPM.
This commit is contained in:
Yaakov Selkowitz 2024-01-28 20:02:41 -05:00 committed by yselkowitz
parent 719145eb7e
commit 2dcf69d1ad

View File

@ -16,6 +16,8 @@ Version: 0.57.1
Release: %autorelease Release: %autorelease
License: Apache-2.0 License: Apache-2.0
BuildArch: noarch BuildArch: noarch
# for BuildRequires: go-md2man
ExclusiveArch: %{golang_arches} noarch
Summary: Common configuration and documentation for containers Summary: Common configuration and documentation for containers
BuildRequires: go-md2man BuildRequires: go-md2man
Provides: skopeo-containers = %{epoch}:%{version}-%{release} Provides: skopeo-containers = %{epoch}:%{version}-%{release}