From d094438fe9f4205c07a944744a038bab6fc828f4 Mon Sep 17 00:00:00 2001 From: Vit Mojzis Date: Thu, 6 Mar 2025 12:04:29 +0100 Subject: [PATCH] automotive: remove dependency on policycoreutils-python-utils Since selinux-policy-automotive does not use the triggerpostun scriptlet that targeted/mls/minimum use, there is no need for policycoreutils-python-utils (only semodule, restorecon and load_policy are used, all of which is provided by policycoreutils). Resolves: RHEL-82883 --- selinux-policy.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selinux-policy.spec b/selinux-policy.spec index 1f4e9dd1..8ca7aded 100644 --- a/selinux-policy.spec +++ b/selinux-policy.spec @@ -27,7 +27,7 @@ Summary: SELinux policy configuration Name: selinux-policy Version: 38.1.53 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ Source: %{giturl}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz Source1: modules-targeted-base.conf @@ -762,7 +762,7 @@ exit 0 %package automotive Summary: SELinux automotive policy Provides: selinux-policy-any = %{version}-%{release} -Requires(post): policycoreutils-python-utils >= %{POLICYCOREUTILSVER} +Requires(post): policycoreutils >= %{POLICYCOREUTILSVER} Requires(pre): coreutils Requires(pre): selinux-policy = %{version}-%{release} Requires: selinux-policy = %{version}-%{release}