From bd7742f1d9c864f57f7af4c3c9182e9e72894b5f Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Mon, 21 Sep 2020 16:18:55 +0000 Subject: [PATCH] Minor conditional tweak for ELN platform-python-devel is only for RHEL 8, not RHEL 9 or above. Signed-off-by: Troy Dawson --- nbdkit.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nbdkit.spec b/nbdkit.spec index 950367b..db53aa3 100644 --- a/nbdkit.spec +++ b/nbdkit.spec @@ -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