[packages/golang] package default go.env config; rel 2

atler atler at pld-linux.org
Mon Aug 21 20:51:08 CEST 2023


commit 78149964bf1a28345218f7058c6d57174179fcf6
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Aug 21 20:34:30 2023 +0200

    package default go.env config; rel 2
    
    GOPROXY required by package download

 golang.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/golang.spec b/golang.spec
index d3fbe12..f9c97e1 100644
--- a/golang.spec
+++ b/golang.spec
@@ -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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/golang.git/commitdiff/78149964bf1a28345218f7058c6d57174179fcf6



More information about the pld-cvs-commit mailing list