Luke Jones 2019-02-28 20:27:47 +00:00 committed by Git OBS Bridge
parent 54534c90f2
commit ba566002c0

View File

@ -60,7 +60,7 @@
%bcond_without bundled_llvm
%endif
# Leap 42 to 42.3, SLE12 SP1 to SLE12 SP3
%if 0%{?sle_version} >= 120000 && 0%{?sle_version} <= 123000
%if 0%{?sle_version} >= 120000 && 0%{?sle_version} <= 120300
%bcond_without bundled_llvm
%endif
@ -98,7 +98,7 @@ Source107: %{dl_url}/rust-%{prev_rust}-s390x-unknown-linux-gnu.tar.xz
# PATCH-FIX-OPENSUSE: edit src/librustc_llvm/build.rs to ignore GCC incompatible flag
Patch0: ignore-Wstring-conversion.patch
# Leap 42 to 42.3, SLE12 SP1, SP2
%if 0%{?sle_version} >= 120000 && 0%{?sle_version} < 123000
%if 0%{?sle_version} >= 120000 && 0%{?sle_version} <= 120200
# In these distros cmake is 2.x, so we need cmake3 for building llvm.
BuildRequires: cmake3
%else