From 1ef85dcafaf0f6e0ff76a5459920dae9968975d2 Mon Sep 17 00:00:00 2001 From: Yinsist Date: Sun, 28 Apr 2024 06:14:52 +0000 Subject: [PATCH] Disable criu dependency for RISC-V as criu does not currently support RISC-V (cherry picked from commit c162f227745c0d9f9edc37b932ebc9c43e254d69) --- crun.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/crun.spec b/crun.spec index a8edebb..4467859 100644 --- a/crun.spec +++ b/crun.spec @@ -1,6 +1,6 @@ Name: crun Version: 1.8.7 -Release: 1 +Release: 2 Summary: A fast and low-memory footprint OCI Container Runtime fully written in C. URL: https://github.com/containers/%{name} Source0: https://github.com/containers/crun/releases/download/%{version}/%{name}-%{version}.tar.xz @@ -17,9 +17,11 @@ BuildRequires: libseccomp-devel BuildRequires: python3-libmount BuildRequires: libtool BuildRequires: protobuf-c-devel +%ifnarch riscv64 BuildRequires: criu-devel Recommends: criu Recommends: criu-libs +%endif BuildRequires: python3 Provides: oci-runtime @@ -52,6 +54,9 @@ rm -rf %{buildroot}%{_prefix}/lib* %{_mandir}/man1/* %changelog +* Sun Apr 28 2024 yinsist - 1.8.7-2 +- Disable criu dependency for RISC-V as criu does not currently support RISC-V + * Thu Apr 25 2024 lijian - 1.8.7-1 - update to 1.8.7 - crun: new command "crun features". -- Gitee