diff --git a/rust.spec b/rust.spec index 48e9149..01c6a35 100644 --- a/rust.spec +++ b/rust.spec @@ -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