From 154025db4e8b54c62596e7101c0c5dc6722b8e36 Mon Sep 17 00:00:00 2001 From: Liwei Ge Date: Mon, 24 Jul 2023 15:09:46 +0800 Subject: [PATCH] disable loongarch64 build --- skopeo.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/skopeo.spec b/skopeo.spec index 263c693..8617418 100644 --- a/skopeo.spec +++ b/skopeo.spec @@ -1,3 +1,4 @@ +%define anolis_release .0.1 %global with_check 0 %global _find_debuginfo_dwz_opts %{nil} @@ -18,11 +19,12 @@ go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl Epoch: 2 Name: skopeo Version: 1.6.2 -Release: 9%{?dist} +Release: 9%{anolis_release}%{?dist} Summary: Inspect container images and repositories on registries License: ASL 2.0 URL: https://%{import_path} # https://fedoraproject.org/wiki/PackagingDrafts/Go#Go_Language_Architectures +ExcludeArch: loongarch64 ExclusiveArch: %{go_arches} %if 0%{?branch:1} Source0: https://%{import_path}/tarball/%{commit0}/%{branch}-%{shortcommit0}.tar.gz @@ -119,6 +121,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath} %{_datadir}/%{name}/test %changelog +* Thu Dec 14 2023 Liwei Ge - 2:1.6.2-9.0.1 +- disable loongarch64 build + * Tue Sep 05 2023 Jindrich Novy - 2:1.6.2-9 - rebuild because of CVE-2023-29406 - Resolves: #2236831 -- Gitee