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
This commit is contained in:
Luke Jones 2019-02-24 04:31:44 +00:00 committed by Git OBS Bridge
parent 816482df4b
commit d2072c0576

View File

@ -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}