From 1d94ab5f1b4557c9e017af7e9da0f821cae1fa72 Mon Sep 17 00:00:00 2001 From: Renato Botelho do Couto Date: Fri, 6 Mar 2020 13:42:22 -0600 Subject: misc: Fix vpp-selinux-policy dependency on CentOS 8 policycoreutils-python is now called python3-policycoreutils on CentOS 8. Type: fix Signed-off-by: Renato Botelho do Couto Change-Id: I46264c66a2a719d546e0926f3bd716e986461963 --- extras/rpm/vpp.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'extras/rpm') diff --git a/extras/rpm/vpp.spec b/extras/rpm/vpp.spec index 09e70c5245d..726c9c42f28 100644 --- a/extras/rpm/vpp.spec +++ b/extras/rpm/vpp.spec @@ -158,7 +158,12 @@ This package contains the python3 bindings for the vpp api %package selinux-policy Summary: VPP Security-Enhanced Linux (SELinux) policy Group: System Environment/Base -Requires(post): selinux-policy-base >= %{selinux_policyver}, selinux-policy-targeted >= %{selinux_policyver}, policycoreutils, policycoreutils-python libselinux-utils +Requires(post): selinux-policy-base >= %{selinux_policyver}, selinux-policy-targeted >= %{selinux_policyver}, policycoreutils, libselinux-utils +%if 0%{rhel} < 8 +Requires(post): policycoreutils-python +%else +Requires(post): python3-policycoreutils +%endif %description selinux-policy This package contains a tailored VPP SELinux policy -- cgit 1.2.3-korg