Minor conditional tweak for ELN

platform-python-devel is only for RHEL 8, not RHEL 9 or above.

Signed-off-by: Troy Dawson <tdawson@redhat.com>
This commit is contained in:
Troy Dawson 2020-09-21 16:18:55 +00:00
parent df6e015a58
commit bd7742f1d9

View File

@ -93,7 +93,7 @@ BuildRequires: rb_libtorrent-devel
BuildRequires: bash-completion
BuildRequires: perl-devel
BuildRequires: perl(ExtUtils::Embed)
%if !0%{?rhel}
%if !0%{?rhel} == 8
BuildRequires: python3-devel
%else
BuildRequires: platform-python-devel