From 9068fd414f8d82137fb738824f1c03f7673bb8b8 Mon Sep 17 00:00:00 2001 From: AlmaLinux RelEng Bot Date: Mon, 24 Aug 2026 08:57:52 -0400 Subject: [PATCH] import CS crun-1.28-1.el9 --- .crun.metadata | 2 +- .gitignore | 2 +- SPECS/crun.spec | 40 ++++++++++++++++++++++++++++------------ 3 files changed, 30 insertions(+), 14 deletions(-) diff --git a/.crun.metadata b/.crun.metadata index aa71b21..7df201e 100644 --- a/.crun.metadata +++ b/.crun.metadata @@ -1 +1 @@ -b76d17851828255e4f9186918495130ddf99db21 SOURCES/crun-1.23.tar.zst +84f21cd5fdd7582ddf36c8f5169d70ac9dd2b420 SOURCES/crun-1.28.tar.zst diff --git a/.gitignore b/.gitignore index c401a7e..c7f6bc0 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/crun-1.23.tar.zst +SOURCES/crun-1.28.tar.zst diff --git a/SPECS/crun.spec b/SPECS/crun.spec index 4dd2f1a..79fa288 100644 --- a/SPECS/crun.spec +++ b/SPECS/crun.spec @@ -1,6 +1,5 @@ %global krun_opts %{nil} %global wasmedge_opts %{nil} -%global yajl_opts %{nil} %if %{defined copr_username} %define copr_build 1 @@ -17,7 +16,7 @@ %global wasmedge_opts --with-wasmedge %endif -# krun only exists on fedora +# krun support on Fedora only %if %{defined fedora} %global krun_support 1 %global krun_opts --with-libkrun @@ -25,11 +24,6 @@ %endif -%if %{defined fedora} || (%{defined rhel} && 0%{?rhel} < 10) -%global system_yajl 1 -%else -%global yajl_opts --enable-embedded-yajl -%endif Summary: OCI runtime written in C Name: crun @@ -42,7 +36,7 @@ Epoch: 102 # If that's what you're reading, Version must be 0, and will be updated by Packit for # copr and koji builds. # If you're reading this on dist-git, the version is automatically filled in by Packit. -Version: 1.23 +Version: 1.28 Release: 1%{?dist} URL: https://github.com/containers/%{name} Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.zst @@ -62,9 +56,7 @@ BuildRequires: libcap-devel BuildRequires: libkrun-devel %endif BuildRequires: systemd-devel -%if %{defined system_yajl} -BuildRequires: yajl-devel -%endif +BuildRequires: json-c-devel >= 0.14 BuildRequires: libseccomp-devel BuildRequires: python3-libmount BuildRequires: libtool @@ -76,6 +68,7 @@ Recommends: criu-libs BuildRequires: wasmedge-devel %endif BuildRequires: python +Requires: (container-selinux >= 4:2.240.0-3 if selinux-policy) Provides: oci-runtime %description @@ -114,7 +107,7 @@ Recommends: wasmedge export CFLAGS="%{optflags} -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" export LDFLAGS="%{build_ldflags}" ./autogen.sh -./configure --disable-silent-rules %{krun_opts} %{wasmedge_opts} %{yajl_opts} +./configure --disable-silent-rules %{krun_opts} %{wasmedge_opts} %make_build %install @@ -143,6 +136,29 @@ rm -rf %{buildroot}%{_prefix}/lib* %endif %changelog +* Wed Jun 17 2026 Jindrich Novy - 1.28-1 +- update to https://github.com/containers/crun/releases/tag/1.28 +- Resolves: RHEL-185741 +* Thu Apr 17 2026 Jindrich Novy - 1.27-2 +- add conditional Requires on container-selinux for SELinux-enabled systems +- Resolves: RHEL-169227 + +* Fri Apr 10 2026 Jindrich Novy - 1.27-1 +- update to https://github.com/containers/crun/releases/tag/1.27 +- Resolves: RHEL-161443 + +* Thu Jan 22 2026 Jindrich Novy - 1.26-1 +- update to https://github.com/containers/crun/releases/tag/1.26 +- Resolves: RHEL-143228 + +* Tue Sep 16 2025 Jindrich Novy - 1.24-1 +- update to https://github.com/containers/crun/releases/tag/1.24 +- Related: RHEL-111919 + +* Mon Aug 04 2025 Jindrich Novy - 1.23.1-1 +- update to https://github.com/containers/crun/releases/tag/1.23.1 +- Related: RHEL-80816 + * Mon Jul 28 2025 Jindrich Novy - 1.23-1 - update to https://github.com/containers/crun/releases/tag/1.23 - Related: RHEL-80816