From 49bb896c7209f5d3a369e8edfdf26be39a6b1354 Mon Sep 17 00:00:00 2001 From: Jindrich Novy Date: Mon, 20 Jul 2026 10:11:52 +0200 Subject: [PATCH] container-selinux-2.250.0-1.el9 - update to https://github.com/containers/container-selinux/releases/tag/v2.250.0 - Resolves: RHEL-212437 Signed-off-by: Jindrich Novy --- container-selinux.spec | 16 +++++++++++++++- sources | 2 +- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/container-selinux.spec b/container-selinux.spec index 20b809a..40f29c0 100644 --- a/container-selinux.spec +++ b/container-selinux.spec @@ -20,6 +20,12 @@ %define no_user_namespace 1 %endif +# https://redhat.atlassian.net/browse/RHEL-151636 +# RHEL <= 9 and Fedora <= 43 have older policydb versions +%if (%{defined rhel} && 0%{?rhel} <= 9) || (%{defined fedora} && 0%{?fedora} <= 43) +%define old_policydb 1 +%endif + # copr_build is more intuitive than copr_username %if %{defined copr_username} %define copr_build 1 @@ -35,7 +41,7 @@ Epoch: 4 # Keep Version in upstream specfile at 0. It will be automatically set # to the correct value by Packit for copr and koji builds. # IGNORE this comment if you're looking at it in dist-git. -Version: 2.249.0 +Version: 2.250.0 Release: 1%{?dist} License: GPL-2.0-only URL: https://github.com/containers/%{name} @@ -52,7 +58,11 @@ Requires: selinux-policy >= %_selinux_policy_version Requires(post): selinux-policy-base >= %_selinux_policy_version Requires(post): selinux-policy-any >= %_selinux_policy_version Recommends: selinux-policy-targeted >= %_selinux_policy_version +%if %{defined old_policydb} Requires(post): policycoreutils +%else +Requires(post): policycoreutils >= 3.10 +%endif Requires(post): libselinux-utils Requires(post): sed Obsoletes: %{name} <= 2:1.12.5-13 @@ -138,6 +148,10 @@ if %{_sbindir}/selinuxenabled ; then fi %changelog +* Mon Jul 20 2026 Jindrich Novy - 4:2.250.0-1 +- update to https://github.com/containers/container-selinux/releases/tag/v2.250.0 +- Resolves: RHEL-212437 + * Mon Jun 01 2026 Jindrich Novy - 4:2.249.0-1 - update to https://github.com/containers/container-selinux/releases/tag/v2.249.0 - Resolves: RHEL-58185 diff --git a/sources b/sources index a80394c..0cd88b2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (v2.249.0.tar.gz) = 80d64cacce9800fb77e0fb9b177c3fefcb5d430a230f32105dcb8cf484ffc4bf1aa215c18d00d8001bf1170e622e942cbd2cbd8f3b639c6c52904ae2b90a1ba0 +SHA512 (v2.250.0.tar.gz) = faf2abfc20c5a0db6525caa3743894bd15f75a5cc7e95d03166e6fdd0079e506a0a6d27633d8867337a63b812206aaef97ab50a9511d3849066a75b5eb86ca4b