Accepting request 678457 from home:luke_nukem:branches:devel:languages:rust
Explicitly set bcond_without for certain versions OBS-URL: https://build.opensuse.org/request/show/678457 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=184
This commit is contained in:
parent
d2072c0576
commit
67bd434ec1
14
rust.spec
14
rust.spec
@ -54,13 +54,21 @@
|
|||||||
|
|
||||||
# Will build with distro LLVM by default, but the following
|
# Will build with distro LLVM by default, but the following
|
||||||
# versions do not have a version new enough, >= 6.0
|
# versions do not have a version new enough, >= 6.0
|
||||||
%if 0%{?suse_version} <= 1315 && 0%{?is_opensuse}
|
# add --without bundled_llvm option, i.e. enable bundled_llvm by default
|
||||||
|
# Leap 15.0
|
||||||
|
%if 0%{?sle_version} == 150000 && 0%{?is_opensuse}
|
||||||
%bcond_without bundled_llvm
|
%bcond_without bundled_llvm
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?sle_version} < 120400 && 0%{?is_backports}
|
# Leap 42.3
|
||||||
|
%if 0%{?sle_version} == 120300 && 0%{?is_opensuse}
|
||||||
%bcond_without bundled_llvm
|
%bcond_without bundled_llvm
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?sle_version} <= 150000 && 0%{?is_opensuse}
|
# Leap 42.2
|
||||||
|
%if 0%{?sle_version} == 120200 && 0%{?is_opensuse}
|
||||||
|
%bcond_without bundled_llvm
|
||||||
|
%endif
|
||||||
|
# SLE Backports SP3 or less
|
||||||
|
%if 0%{?sle_version} <= 120300 && 0%{?is_backports}
|
||||||
%bcond_without bundled_llvm
|
%bcond_without bundled_llvm
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user