From 565b171dfd0269a26042b6a6425afd97af2dab29 Mon Sep 17 00:00:00 2001 From: Jindrich Novy Date: Mon, 20 Apr 2026 15:09:55 +0200 Subject: [PATCH] crun-1.26-3.el10 - add conditional Requires on container-selinux for SELinux-enabled systems - Resolves: RHEL-169517 Signed-off-by: Jindrich Novy --- crun.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/crun.spec b/crun.spec index 4a1bd12..a696139 100644 --- a/crun.spec +++ b/crun.spec @@ -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.26 -Release: 2%{?dist} +Release: 3%{?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 @@ -141,6 +142,10 @@ rm -rf %{buildroot}%{_prefix}/lib* %endif %changelog +* Sun Apr 20 2026 Jindrich Novy - 1.26-3 +- add conditional Requires on container-selinux for SELinux-enabled systems +- Resolves: RHEL-169517 + * Fri Feb 27 2026 Jindrich Novy - 1.26-2 - use %%configure macro instead of ./configure to inject RPM hardening flags (stack protector, FORTIFY_SOURCE)