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
This commit is contained in:
Vit Mojzis 2025-03-06 12:04:29 +01:00
parent bbd06ec607
commit d094438fe9

View File

@ -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}