diff --git a/crun.spec b/crun.spec index b09f9b6..79fa288 100644 --- a/crun.spec +++ b/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 @@ -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,8 +36,8 @@ 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.27 -Release: 2%{?dist} +Version: 1.28 +Release: 1%{?dist} URL: https://github.com/containers/%{name} Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.zst License: GPL-2.0-only @@ -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 @@ -115,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 @@ -144,6 +136,9 @@ 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 diff --git a/sources b/sources index f514fb8..87ff8bd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (crun-1.27.tar.zst) = 89a2c6d894926f16afaee27fb6460bdfe7633c6716ace459d86c3adaa1f6e11cdfad3371ffc26d91d63185a2249ad56ff88272e459d5837524d820d945dd2878 +SHA512 (crun-1.28.tar.zst) = 9a2ee5c53169e166f415bcd7713b03e0ce8ec007a6ec6409aa72a1339881efa0155338c1147dcf39fbce100888f3217cb6bab51f45d5a2656f7eef34dc4d1eef