forked from pool/go1.19
Accepting request 998229 from home:dirkmueller:Factory
- bootstrap factory via go1.16, so that older versions can be removed from factory OBS-URL: https://build.opensuse.org/request/show/998229 OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go1.19?expand=0&rev=7
This commit is contained in:
parent
2824ec4817
commit
497ada3d93
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 19 17:53:40 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- bootstrap factory via go1.16, so that older versions can be removed
|
||||
from factory
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 9 05:56:23 UTC 2022 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
||||
|
||||
|
15
go1.19.spec
15
go1.19.spec
@ -28,11 +28,7 @@
|
||||
%define gcc_go_version 8
|
||||
%define go_bootstrap_version go1.4
|
||||
%else
|
||||
%ifarch riscv64
|
||||
%define go_bootstrap_version go1.14
|
||||
%else
|
||||
%define go_bootstrap_version go1.9
|
||||
%endif
|
||||
%define go_bootstrap_version go1.16
|
||||
%if 0%{?sle_version} == 150000
|
||||
# SLE15 or Leap 15.x
|
||||
%define gcc_go_version 7
|
||||
@ -41,15 +37,9 @@
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# By default use go and not gccgo
|
||||
# By default use go, use '--with gccgo' to bootstrap via gccgo
|
||||
%bcond_with gccgo
|
||||
|
||||
# The fallback boostrap method via %%{go_bootstrap_version} would work for Leap
|
||||
# but we don't have %%{go_bootstrap_version} in there. Same for SLE15+
|
||||
#if ( 0%{?suse_version} < 1550 && 0%{?is_opensuse} ) || ( 0%{?suse_version} >= 1500 && ! 0%{?is_opensuse} )
|
||||
#bcond_without gccgo
|
||||
#endif
|
||||
|
||||
# The fallback bootstrap method via go1.4 doesn't work
|
||||
# for aarch64 nor ppc64le because go 1.4 did not support that architecture.
|
||||
%if 0%{?suse_version} == 1315
|
||||
@ -422,7 +412,6 @@ fi
|
||||
%endif
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root,-)
|
||||
%doc %{_docdir}/go/%{go_label}/*.html
|
||||
|
||||
%ifarch %{tsan_arch}
|
||||
|
Loading…
Reference in New Issue
Block a user