From 01f9f4f8d7b9c8102b3630ebdd629854a904aae1 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Tue, 6 Feb 2018 23:21:45 -0800 Subject: [PATCH] use llvm5 for epel7 --- rust.spec | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/rust.spec b/rust.spec index 1d6bf27..24d444f 100644 --- a/rust.spec +++ b/rust.spec @@ -132,10 +132,7 @@ BuildRequires: cmake3 >= 3.4.3 Provides: bundled(llvm) = 4.0 %else BuildRequires: cmake >= 2.8.7 -%if 0%{?epel} -%global llvm llvm3.9 -%endif -%if 0%{?fedora} >= 28 +%if 0%{?epel} || 0%{?fedora} >= 28 %global llvm llvm5.0 %endif %if %defined llvm