selinux: Add missing dependencies

This policy module only works with "targeted" policy.

Signed-off-by: Vit Mojzis <vmojzis@redhat.com>

Related: RHEL-22815
This commit is contained in:
Vit Mojzis 2022-09-20 17:35:35 +02:00 committed by Michal Schorm
parent d819058731
commit 16200dea84

View File

@ -15,8 +15,9 @@ Source0: https://github.com/devexp-db/mysql-selinux/archive/refs/tags/%{v
BuildArch: noarch
BuildRequires: make
Requires: selinux-policy-%{selinuxtype}
Requires(post): selinux-policy-%{selinuxtype}
BuildRequires: selinux-policy-devel
Requires(post): policycoreutils
%{?selinux_requires}
%description