[packages/python] one time export for tests only

glen glen at pld-linux.org
Thu May 10 07:24:34 CEST 2018


commit 41db756baa107993495c51f78ca82e43f4ac6273
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Thu May 10 08:20:25 2018 +0300

    one time export for tests only

 python.spec | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/python.spec b/python.spec
index 9b856c8..67b9cba 100644
--- a/python.spec
+++ b/python.spec
@@ -627,8 +627,7 @@ BEGIN { fail = 0; logmsg = ""; }
 END { if (fail) { print "\nPROBLEMS FOUND:"; print logmsg; exit(1); } }'
 
 %if %{with tests}
-LC_ALL=C.UTF-8
-export LC_ALL
+LC_ALL=C.UTF-8 \
 WITHIN_PYTHON_RPM_BUILD=1 %{__make} -j1 test \
 	TESTOPTS="%{test_flags} %{test_list}" \
 	TESTPYTHON="LD_LIBRARY_PATH=`pwd` PYTHONHOME=`pwd` PYTHONPATH=`pwd`/Lib:`pwd`/Lib/lib-tk:`pwd`/build/lib.linux-`uname -m`-%{py_ver} ./python -tt"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python.git/commitdiff/41db756baa107993495c51f78ca82e43f4ac6273



More information about the pld-cvs-commit mailing list