From 146686306455f0adb8f8d284728c97c5024e295c Mon Sep 17 00:00:00 2001 From: Jindrich Novy Date: Fri, 19 Feb 2021 16:00:40 +0100 Subject: [PATCH] runc-1.0.0-331.dev.gitbd013b6.el9 - use %%{go_arches} Signed-off-by: Jindrich Novy --- runc.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/runc.spec b/runc.spec index 4c861b6..b87cc00 100644 --- a/runc.spec +++ b/runc.spec @@ -25,16 +25,15 @@ Name: %{repo} Epoch: 2 Version: 1.0.0 -Release: 330.dev.git%{shortcommit0}%{?dist} +Release: 331.dev.git%{shortcommit0}%{?dist} Summary: CLI for running Open Containers License: ASL 2.0 URL: %{git0} Source0: %{git0}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz Patch1: cgroups-v2.patch -# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required -#ExclusiveArch: %%{?go_arches:%%{go_arches}}%%{!?go_arches:%%{ix86} x86_64 %%{arm}} -ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 ppc64le %{mips} s390x +# https://fedoraproject.org/wiki/PackagingDrafts/Go#Go_Language_Architectures +ExclusiveArch: %{go_arches} # If go_compiler is not set to 1, there is no virtual provide. Use golang instead. BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang} BuildRequires: pkgconfig(libseccomp) @@ -285,6 +284,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath} %endif %changelog +* Fri Feb 19 2021 Jindrich Novy - 2:1.0.0-331.dev.gitbd013b6 +- use %%{go_arches} + * Thu Dec 3 2020 RH Container Bot - 2:1.0.0-330.dev.gitbd013b6 - autobuilt bd013b6