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:
parent
719145eb7e
commit
2dcf69d1ad
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user