For older rpm's sake, don't use %elif

This commit is contained in:
Josh Stone 2020-02-27 13:31:18 -08:00
parent f5e3ba5729
commit 682c207f08

View File

@ -162,7 +162,8 @@ Provides: bundled(llvm) = 9.0.0
BuildRequires: cmake >= 2.8.11 BuildRequires: cmake >= 2.8.11
%if 0%{?epel} %if 0%{?epel}
%global llvm llvm7.0 %global llvm llvm7.0
%elif 0%{?fedora} >= 32 %endif
%if 0%{?fedora} >= 32
%global llvm llvm9.0 %global llvm llvm9.0
%endif %endif
%if %defined llvm %if %defined llvm