diff --git a/libheif.spec b/libheif.spec index cbe7e58..fada7b0 100644 --- a/libheif.spec +++ b/libheif.spec @@ -22,7 +22,7 @@ BuildRequires: pkgconfig(aom) BuildRequires: pkgconfig(dav1d) BuildRequires: pkgconfig(libjpeg) BuildRequires: pkgconfig(libpng) -%if ! (0%{?rhel} && 0%{?rhel} < 9) +%if ! (0%{?rhel} && 0%{?rhel} <= 9) BuildRequires: pkgconfig(rav1e) BuildRequires: pkgconfig(SvtAv1Enc) %endif