Accepting request 998732 from home:jfkw:branches:devel:languages:go
- Define go_bootstrap_version go1.16 without suse_version checks - Simplify conditional gcc_go_version 12 on Tumbleweed, 11 elsewhere OBS-URL: https://build.opensuse.org/request/show/998732 OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go1.18?expand=0&rev=29
This commit is contained in:
parent
ff00e95546
commit
baa26a5dbe
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 22 20:44:19 UTC 2022 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
||||
|
||||
- Define go_bootstrap_version go1.16 without suse_version checks
|
||||
- Simplify conditional gcc_go_version 12 on Tumbleweed, 11 elsewhere
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 19 15:47:43 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
20
go1.18.spec
20
go1.18.spec
@ -24,25 +24,23 @@
|
||||
%undefine _build_create_debug
|
||||
%define __arch_install_post export NO_BRP_STRIP_DEBUG=true NO_BRP_AR=true
|
||||
|
||||
%if 0%{?suse_version} == 1315
|
||||
%define gcc_go_version 8
|
||||
%define go_bootstrap_version go1.4
|
||||
%else
|
||||
# Used to bootstrap go toolchain with specific existing package
|
||||
%define go_bootstrap_version go1.16
|
||||
%if 0%{?sle_version} == 150000
|
||||
# SLE15 or Leap 15.x
|
||||
%define gcc_go_version 11
|
||||
%else
|
||||
|
||||
# Used to bootstrap go toolchain using specific version of gcc-go
|
||||
%if 0%{?suse_version} > 1500
|
||||
# openSUSE Tumbleweed
|
||||
%define gcc_go_version 12
|
||||
%endif
|
||||
%else
|
||||
%define gcc_go_version 11
|
||||
%endif
|
||||
|
||||
# Bootstrap go toolchain using existing go package go_bootstrap_version
|
||||
# To bootstrap using gccgo use '--with gccgo'
|
||||
%bcond_with gccgo
|
||||
|
||||
# The fallback bootstrap method via go1.4 doesn't work
|
||||
# for aarch64 nor ppc64le because go 1.4 did not support that architecture.
|
||||
# Boostrapping using existing go package can fail on certain SLE-12 architectures
|
||||
# Override here as needed
|
||||
%if 0%{?suse_version} == 1315
|
||||
%ifarch aarch64 ppc64le ppc64 s390x
|
||||
%bcond_without gccgo
|
||||
|
Loading…
Reference in New Issue
Block a user