[packages/kitty] Set GOCACHE inside build dir

glen glen at pld-linux.org
Thu Feb 23 09:29:38 CET 2023


commit bf53b96abcf5396047c13dd14b3ecaca8d198b57
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Thu Feb 23 10:27:25 2023 +0200

    Set GOCACHE inside build dir

 kitty.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/kitty.spec b/kitty.spec
index 3448c22..cf2b6c1 100644
--- a/kitty.spec
+++ b/kitty.spec
@@ -172,6 +172,7 @@ rm -rf $RPM_BUILD_ROOT
 %set_build_flags
 export CC="%{__cc}"
 export CXX="%{__cxx}"
+export GOCACHE=%go_cachedir
 export NUM_WORKERS=1
 # NOTE: setup.py is not regular setuptools setup.py
 %{__python3} setup.py linux-package \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kitty.git/commitdiff/2bda90d8d86f44cf4de9d08ea4e3b4901a0cb8b1



More information about the pld-cvs-commit mailing list