diff --git a/crun.spec b/crun.spec index c5d633e..b09f9b6 100644 --- a/crun.spec +++ b/crun.spec @@ -17,7 +17,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 @@ -43,7 +43,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.27 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://github.com/containers/%{name} Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.zst License: GPL-2.0-only @@ -76,6 +76,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 @@ -143,6 +144,10 @@ rm -rf %{buildroot}%{_prefix}/lib* %endif %changelog +* 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