enable riscv64 build

This commit is contained in:
Jingwiw 2024-05-25 00:08:02 +08:00
parent 9fedddcaa5
commit 48d0fda4cf

View File

@ -13,7 +13,7 @@
Name: cri-tools
Version: 1.29.0
Release: 2
Release: 3
Summary: CLI and validation tools for Container Runtime Interface
License: ASL 2.0
URL: https://%{goipath}
@ -22,7 +22,7 @@ Source1: https://github.com/cpuguy83/go-md2man/archive/refs/tags/v2.0.3.ta
Patch0001: 0001-fix-CVE-2024-24786.patch
ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm} ppc64le s390x}
ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm} ppc64le s390x riscv64}
BuildRequires: golang, glibc-static, git
Provides: crictl = %{version}-%{release}
@ -63,6 +63,12 @@ install -p -m 644 docs/crictl.1 %{buildroot}%{_mandir}/man1
%{_mandir}/man1/crictl*
%changelog
* Fri May 24 2024 Jingwiw <wangjingwei@iscas.ac.cn> - 1.29.0-3
- Type:enhancement
- CVE:NA
- SUG:NA
- DESC: enable riscv64
* Wed Apr 10 2024 zhangbowei <zhangbowei@kylinos.cn> - 1.29.0-2
- Type:bugfix
- CVE:NA