[packages/python3] - more informative description for optimizations bcond

qboosh qboosh at pld-linux.org
Wed Jul 11 20:49:55 CEST 2018


commit 16d2c1b748cb3a850e8d6b76029052a3aafbc0ce
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Jul 11 20:51:43 2018 +0200

    - more informative description for optimizations bcond

 python3.spec | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/python3.spec b/python3.spec
index d525089..26aad2e 100644
--- a/python3.spec
+++ b/python3.spec
@@ -1,3 +1,4 @@
+# NOTE: tests require processes limit >128 (256 is sufficient)
 #
 # Conditional build:
 %bcond_with	info			# info pages (requires emacs)
@@ -5,7 +6,7 @@
 %bcond_without	tkinter			# disables tkinter module building
 %bcond_without	tests			# disables Python testing
 %bcond_with	verbose_tests		# runs tests in verbose mode
-%bcond_without	optimizations		# optimitations
+%bcond_without	optimizations		# expensive, stable optimizations (PGO etc.) + LTO
 #
 # tests which will not work on 64-bit platforms
 %define		no64bit_tests	test_audioop test_rgbimg test_imageop
@@ -72,6 +73,9 @@ BuildRequires:	db-devel >= 4
 BuildRequires:	expat-devel >= 1:1.95.7
 BuildRequires:	file
 BuildRequires:	gdbm-devel >= 1.8.3
+%if %(locale -a | grep -q '^C\.utf8$'; echo $?)
+BuildRequires:	glibc-localedb-all
+%endif
 BuildRequires:	gmp-devel >= 4.0
 BuildRequires:	libffi-devel
 BuildRequires:	libstdc++-devel
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3.git/commitdiff/16d2c1b748cb3a850e8d6b76029052a3aafbc0ce



More information about the pld-cvs-commit mailing list