[packages/kitty] Unset PWD for go build failure
glen
glen at pld-linux.org
Thu Feb 23 09:29:44 CET 2023
commit 2bda90d8d86f44cf4de9d08ea4e3b4901a0cb8b1
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Thu Feb 23 10:28:03 2023 +0200
Unset PWD for go build failure
- https://github.com/kovidgoyal/kitty/issues/6051
kitty.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/kitty.spec b/kitty.spec
index cf2b6c1..80b43a7 100644
--- a/kitty.spec
+++ b/kitty.spec
@@ -174,6 +174,8 @@ export CC="%{__cc}"
export CXX="%{__cxx}"
export GOCACHE=%go_cachedir
export NUM_WORKERS=1
+# unset PWD for https://github.com/kovidgoyal/kitty/issues/6051
+unset PWD
# NOTE: setup.py is not regular setuptools setup.py
%{__python3} setup.py linux-package \
--libdir-name=%{_lib} \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kitty.git/commitdiff/2bda90d8d86f44cf4de9d08ea4e3b4901a0cb8b1
More information about the pld-cvs-commit
mailing list