From d2072c057605bac53caa9f0bec65abc2b1a11ba64ca7bc5c438ae432ba805792 Mon Sep 17 00:00:00 2001 From: Luke Jones Date: Sun, 24 Feb 2019 04:31:44 +0000 Subject: [PATCH] Accepting request 678449 from home:luke_nukem:branches:devel:languages:rust Correction to enable Leap 15 build OBS-URL: https://build.opensuse.org/request/show/678449 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=183 --- rust.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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}