diff --git a/skopeo.spec b/skopeo.spec index 263c6934f31d187b7fd0210a4ca2101b493f3ea5..8617418da94780bb1d0d481aed1810f7afb55b60 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