more tries for el8
@@ -20,7 +20,11 @@ BuildRequires: libsodium23 >= 1.0.14
%else
BuildRequires: libsodium-static >= 1.0.16
%endif
-%{?el8:BuildRequires: epel-release >= 8}
+%if 0%{?rhel}
+%if 0%{?rhl} >= 8
+BuildRequires: epel-release >= 8
+%endif
+%endif
BuildRequires: libmicrohttpd-devel >= 0.9.33
BuildRequires: libseccomp-devel >= 2.3
BuildRequires: help2man >= 1.41
