From 682c207f089529adb201f8bd31e775acc4d291d7 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Thu, 27 Feb 2020 13:31:18 -0800 Subject: [PATCH] For older rpm's sake, don't use %elif --- rust.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rust.spec b/rust.spec index 1e618cc..a6be1a7 100644 --- a/rust.spec +++ b/rust.spec @@ -162,7 +162,8 @@ Provides: bundled(llvm) = 9.0.0 BuildRequires: cmake >= 2.8.11 %if 0%{?epel} %global llvm llvm7.0 -%elif 0%{?fedora} >= 32 +%endif +%if 0%{?fedora} >= 32 %global llvm llvm9.0 %endif %if %defined llvm