diff options
author | Renato Botelho do Couto <renato@netgate.com> | 2020-03-06 13:42:22 -0600 |
---|---|---|
committer | Renato Botelho do Couto <renato@netgate.com> | 2020-03-06 14:15:18 -0600 |
commit | 1d94ab5f1b4557c9e017af7e9da0f821cae1fa72 (patch) | |
tree | c641d42d350f6fdbd3fcd8134d8a46c969c49d3a /extras/rpm | |
parent | 9c1928f8120aaad078101a18beb19c748d1f0d48 (diff) |
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 <renato@netgate.com>
Change-Id: I46264c66a2a719d546e0926f3bd716e986461963
Diffstat (limited to 'extras/rpm')
-rw-r--r-- | extras/rpm/vpp.spec | 7 |
1 files changed, 6 insertions, 1 deletions
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 |