From 0e1bd8af8f354f1759885b6b1eb7eb4f449c8015 Mon Sep 17 00:00:00 2001 From: yatinkarel Date: Wed, 13 Jul 2022 19:24:19 +0530 Subject: [PATCH] Fix bindep for EL9 platforms Currently it tries to install libselinux-python and libsemanage-python with bindep but those rpms are only applicable to EL7 platforms. Since we no longer support python2, let's cleanup python2 specific rpms and use rpm names which are applicable to all rpm distros. python3-libselinux and python3-libsemanage should be installable on EL7, EL8, EL9 and fedora platform. Change-Id: I49d7d599fb6c158237de2180e2a0ff15a79b4c80 (cherry picked from commit 1742a8675937e8c52bb640ceca34ab6eb5b69cad) --- bindep.txt | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/bindep.txt b/bindep.txt index da807e06fc..19bddede03 100644 --- a/bindep.txt +++ b/bindep.txt @@ -7,10 +7,5 @@ python36-devel [platform:rhel8 platform:centos-8] python3-devel [platform:rpm !platform:rhel8 !platform:centos-8] # For SELinux -libselinux-python [platform:rpm !platform:rhel-8 !platform:centos-8 !platform:fedora] -libsemanage-python [platform:redhat !platform:rhel-8 !platform:centos-8 !platform:fedora] -libselinux-python3 [platform:rpm !platform:rhel-7 !platform:centos-7 !platform:fedora] -libsemanage-python3 [platform:redhat !platform:rhel-7 !platform:centos-7 !platform:fedora] - -python3-libselinux [platform:rpm platform:fedora] -python3-libsemanage [platform:rpm platform:fedora] +python3-libselinux [platform:rpm] +python3-libsemanage [platform:rpm]