]> git.pld-linux.org Git - packages/golang.git/commitdiff
package default go.env config; rel 2 auto/th/golang-1.21.0-2
authorJan Palus <atler@pld-linux.org>
Mon, 21 Aug 2023 18:34:30 +0000 (20:34 +0200)
committerJan Palus <atler@pld-linux.org>
Mon, 21 Aug 2023 18:34:30 +0000 (20:34 +0200)
GOPROXY required by package download

golang.spec

index d3fbe126b902adcf531f953200b997d6f1db1c06..f9c97e170425dbafb509be96b9f3e4bb356542bf 100644 (file)
@@ -27,7 +27,7 @@ Summary:      Go compiler and tools
 Summary(pl.UTF-8):     Kompilator języka Go i narzędzia
 Name:          golang
 Version:       1.21.0
-Release:       1
+Release:       2
 # source tree includes several copies of Mark.Twain-Tom.Sawyer.txt under Public Domain
 License:       BSD and Public Domain
 Group:         Development/Languages
@@ -211,7 +211,7 @@ GOROOT=$RPM_BUILD_ROOT%{goroot}
 install -d $GOROOT/{misc,lib,src}
 install -d $RPM_BUILD_ROOT%{_bindir}
 
-cp -a pkg lib bin src VERSION $GOROOT
+cp -a go.env pkg lib bin src VERSION $GOROOT
 cp -a misc/cgo $GOROOT/misc
 
 # kill Win32 and Plan9 scripts
@@ -256,6 +256,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/%{name}/bin/go
 %attr(755,root,root) %{_libdir}/%{name}/bin/gofmt
 
+%{_libdir}/%{name}/go.env
 %{_libdir}/%{name}/lib
 %{_libdir}/%{name}/misc
 %{_libdir}/%{name}/src
This page took 0.452483 seconds and 4 git commands to generate.