automatic version update by autodist [release 1.16.4-1mamba;Fri May 07 2021]
This commit is contained in:
parent
a53c5d4621
commit
78ad9cf9ec
26
go.spec
26
go.spec
@ -1,6 +1,6 @@
|
|||||||
Name: go
|
Name: go
|
||||||
Version: 1.14.7
|
Version: 1.16.4
|
||||||
Release: 2mamba
|
Release: 1mamba
|
||||||
Summary: The Go programming language
|
Summary: The Go programming language
|
||||||
Group: Applications/Development
|
Group: Applications/Development
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -13,10 +13,10 @@ License: BSD
|
|||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: gcc-go >= 8.1.0
|
BuildRequires: go
|
||||||
|
#BuildRequires: gcc-go >= 8.1.0
|
||||||
Provides: go-pie
|
Provides: go-pie
|
||||||
Obsoletes: go-pie
|
Obsoletes: go-pie < 1.16.3
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Go programming language.
|
The Go programming language.
|
||||||
@ -57,13 +57,13 @@ export GOROOT_FINAL=%{_libdir}/go
|
|||||||
export GO_LDFLAGS="-linkmode internal"
|
export GO_LDFLAGS="-linkmode internal"
|
||||||
export CGO_ENABLED=1
|
export CGO_ENABLED=1
|
||||||
|
|
||||||
# Use gcc-go as bootstrap compiler
|
## Use gcc-go as bootstrap compiler
|
||||||
export GOROOT_BOOTSTRAP=/
|
#export GOROOT_BOOTSTRAP=/
|
||||||
sed -i "s|\$GOROOT_BOOTSTRAP/bin/go|/usr/bin/gcc-go|" src/make.bash src/make.rc
|
#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
|
#sed -i "s|/bin/go|/usr/bin/go|" src/cmd/dist/buildtool.go
|
||||||
|
|
||||||
# golang
|
# golang
|
||||||
#export GOROOT_BOOTSTRAP=%{_libdir}/go
|
export GOROOT_BOOTSTRAP=%{_libdir}/go
|
||||||
|
|
||||||
cd src
|
cd src
|
||||||
./make.bash --no-clean -v
|
./make.bash --no-clean -v
|
||||||
@ -122,6 +122,12 @@ fi
|
|||||||
#%doc README.md
|
#%doc README.md
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sun Aug 16 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.14.7-2mamba
|
||||||
- install alternatives for go and gofmt binaries
|
- install alternatives for go and gofmt binaries
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user