diff --git a/rust.spec b/rust.spec index 753357d..e4aa812 100644 --- a/rust.spec +++ b/rust.spec @@ -52,13 +52,17 @@ %global common_libdir %{_prefix}/lib %global rustlibdir %{common_libdir}/rustlib -# Distro LLVM should be sufficient, this also cuts compile times by almost half +# Will build with distro LLVM by default, but the following +# versions do not have a version new enough, >= 6.0 %if 0%{?suse_version} <= 1315 && 0%{?is_opensuse} %bcond_without bundled_llvm %endif %if 0%{?sle_version} < 120400 && 0%{?is_backports} %bcond_without bundled_llvm %endif +%if 0%{?sle_version} <= 150000 && 0%{?is_opensuse} +%bcond_without bundled_llvm +%endif # Debuginfo can exhaust memory on these architecture workers %ifarch %{arm} %{ix86}