automatic version update by autodist [release 1.16.4-1mamba;Fri May 07 2021]

This commit is contained in:
Automatic Build System 2024-01-05 23:18:57 +01:00
parent a53c5d4621
commit 78ad9cf9ec

26
go.spec
View File

@ -1,6 +1,6 @@
Name: go
Version: 1.14.7
Release: 2mamba
Version: 1.16.4
Release: 1mamba
Summary: The Go programming language
Group: Applications/Development
Vendor: openmamba
@ -13,10 +13,10 @@ License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRequires: gcc-go >= 8.1.0
BuildRequires: go
#BuildRequires: gcc-go >= 8.1.0
Provides: go-pie
Obsoletes: go-pie
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Obsoletes: go-pie < 1.16.3
%description
The Go programming language.
@ -57,13 +57,13 @@ export GOROOT_FINAL=%{_libdir}/go
export GO_LDFLAGS="-linkmode internal"
export CGO_ENABLED=1
# Use gcc-go as bootstrap compiler
export GOROOT_BOOTSTRAP=/
sed -i "s|\$GOROOT_BOOTSTRAP/bin/go|/usr/bin/gcc-go|" src/make.bash src/make.rc
sed -i "s|/bin/go|/usr/bin/go|" src/cmd/dist/buildtool.go
## Use gcc-go as bootstrap compiler
#export GOROOT_BOOTSTRAP=/
#sed -i "s|\$GOROOT_BOOTSTRAP/bin/go|/usr/bin/gcc-go|" src/make.bash src/make.rc
#sed -i "s|/bin/go|/usr/bin/go|" src/cmd/dist/buildtool.go
# golang
#export GOROOT_BOOTSTRAP=%{_libdir}/go
export GOROOT_BOOTSTRAP=%{_libdir}/go
cd src
./make.bash --no-clean -v
@ -122,6 +122,12 @@ fi
#%doc README.md
%changelog
* Fri May 07 2021 Automatic Build System <autodist@mambasoft.it> 1.16.4-1mamba
- automatic version update by autodist
* Thu May 06 2021 Automatic Build System <autodist@mambasoft.it> 1.16.3-1mamba
- automatic version update by autodist
* Sun Aug 16 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.14.7-2mamba
- install alternatives for go and gofmt binaries