diff --git a/nbdkit.spec b/nbdkit.spec index db53aa3..a7060ba 100644 --- a/nbdkit.spec +++ b/nbdkit.spec @@ -93,10 +93,10 @@ BuildRequires: rb_libtorrent-devel BuildRequires: bash-completion BuildRequires: perl-devel BuildRequires: perl(ExtUtils::Embed) -%if !0%{?rhel} == 8 -BuildRequires: python3-devel -%else +%if 0%{?rhel} == 8 BuildRequires: platform-python-devel +%else +BuildRequires: python3-devel %endif %if !0%{?rhel} %if 0%{?have_ocaml}