[python3/python3.4] Use --without-ensurepip configuration option for now.

Bohuslav Kabrda bkabrda at fedoraproject.org
Thu Nov 28 09:28:08 UTC 2013


commit cb97d2916653265a7d7a033b14f406d9031a772a
Author: Slavek Kabrda <bkabrda at redhat.com>
Date:   Thu Nov 28 10:27:48 2013 +0100

    Use --without-ensurepip configuration option for now.

 python3.spec |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/python3.spec b/python3.spec
index 1e61ab1..41beef6 100644
--- a/python3.spec
+++ b/python3.spec
@@ -1003,9 +1003,9 @@ BuildPython debug \
   python-debug \
   python%{pybasever}-debug \
 %ifarch %{ix86} x86_64 ppc %{power64}
-  "--with-pydebug --with-tsc --with-count-allocs --with-call-profile" \
+  "--with-pydebug --with-tsc --with-count-allocs --with-call-profile --without-ensurepip" \
 %else
-  "--with-pydebug --with-count-allocs --with-call-profile" \
+  "--with-pydebug --with-count-allocs --with-call-profile --without-ensurepip" \
 %endif
   false
 %endif # with_debug_build
@@ -1013,7 +1013,7 @@ BuildPython debug \
 BuildPython optimized \
   python \
   python%{pybasever} \
-  "" \
+  "--without-ensurepip" \
   true
 
 # ======================================================
@@ -1497,6 +1497,13 @@ rm -fr %{buildroot}
 %doc %{pylibdir}/email/architecture.rst
 
 %{pylibdir}/encodings
+
+%dir %{pylibdir}/ensurepip/
+%dir %{pylibdir}/ensurepip/__pycache__/
+%{pylibdir}/ensurepip/*.py
+%{pylibdir}/ensurepip/__pycache__/*%{bytecode_suffixes}
+%exclude %{pylibdir}/ensurepip/_bundled
+
 %{pylibdir}/html
 %{pylibdir}/http
 %{pylibdir}/idlelib


More information about the scm-commits mailing list