From 2ed5fb3084b152fa35934ebea4964192aa1245b6 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Fri, 26 Apr 2024 11:47:11 +0300 Subject: [PATCH] Disable criu for riscv64 This is currently not ported (WIP, PR exist usptream). See: https://github.com/checkpoint-restore/criu/pull/2234 Signed-off-by: David Abdurachmanov --- crun.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crun.spec b/crun.spec index 1cf5209..c29a774 100644 --- a/crun.spec +++ b/crun.spec @@ -38,7 +38,7 @@ Epoch: 102 # copr and koji builds. # If you're reading this on dist-git, the version is automatically filled in by Packit. Version: 1.14.4 -Release: %autorelease +Release: %autorelease -e 0.riscv64 URL: https://github.com/containers/%{name} Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz License: GPL-2.0-only @@ -62,9 +62,11 @@ BuildRequires: libseccomp-devel BuildRequires: python3-libmount BuildRequires: libtool BuildRequires: protobuf-c-devel +%ifnarch riscv64 BuildRequires: criu-devel >= 3.17.1-2 Recommends: criu >= 3.17.1 Recommends: criu-libs +%endif %if %{defined wasmedge_support} BuildRequires: wasmedge-devel %endif