From df6d8e7e2d55c1b8f88f2b38108ea2933abe9e86 Mon Sep 17 00:00:00 2001 From: AlmaLinux RelEng Bot Date: Mon, 24 Aug 2026 08:56:54 -0400 Subject: [PATCH] import CS container-selinux-2.250.0-1.el9 --- .container-selinux.metadata | 2 +- .gitignore | 2 +- SPECS/container-selinux.spec | 24 +++++++++++++++++++++++- 3 files changed, 25 insertions(+), 3 deletions(-) diff --git a/.container-selinux.metadata b/.container-selinux.metadata index fc3b477..07fa394 100644 --- a/.container-selinux.metadata +++ b/.container-selinux.metadata @@ -1 +1 @@ -04a0423be83ceabfe0d688b11054d6fdb433a564 SOURCES/v2.245.0.tar.gz +eb9b41725c1fd660a90d1d2d8ae2d15e4c8774cb SOURCES/v2.250.0.tar.gz diff --git a/.gitignore b/.gitignore index 457a877..1acaba5 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/v2.245.0.tar.gz +SOURCES/v2.250.0.tar.gz diff --git a/SPECS/container-selinux.spec b/SPECS/container-selinux.spec index 64d5734..40f29c0 100644 --- a/SPECS/container-selinux.spec +++ b/SPECS/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.245.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,18 @@ 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 + +* Thu Apr 23 2026 Jindrich Novy - 4:2.247.0-1 +- update to https://github.com/containers/container-selinux/releases/tag/v2.247.0 +- Resolves: RHEL-170604 + * Wed Feb 04 2026 Jindrich Novy - 4:2.245.0-1 - update to https://github.com/containers/container-selinux/releases/tag/v2.245.0 - Related: RHEL-111919