[packages/python] move _sysconfigdata module to -libs; rel 7
atler
atler at pld-linux.org
Tue May 31 11:34:59 CEST 2022
commit e25b75d74a23bd321a067ad469afd64a4558f6af
Author: Jan Palus <atler at pld-linux.org>
Date: Tue May 31 11:32:28 2022 +0200
move _sysconfigdata module to -libs; rel 7
$ python2
Traceback (most recent call last):
File "/usr/lib64/python2.7/site.py", line 548, in <module>
File "/usr/lib64/python2.7/site.py", line 530, in main
File "/usr/lib64/python2.7/site.py", line 270, in addusersitepackages
File "/usr/lib64/python2.7/site.py", line 241, in getusersitepackages
File "/usr/lib64/python2.7/site.py", line 231, in getuserbase
File "/usr/lib64/python2.7/sysconfig.py", line 538, in get_config_var
File "/usr/lib64/python2.7/sysconfig.py", line 485, in get_config_vars
File "/usr/lib64/python2.7/sysconfig.py", line 369, in _init_posix
ImportError: No module named _sysconfigdata
python.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/python.spec b/python.spec
index ec77972..37a9792 100644
--- a/python.spec
+++ b/python.spec
@@ -39,7 +39,7 @@ Summary(tr.UTF-8): X arayüzlü, yüksek düzeyli, kabuk yorumlayıcı dili
Summary(uk.UTF-8): Мова програмування дуже високого рівня з X-інтерфейсом
Name: python
Version: %{py_ver}.18
-Release: 6
+Release: 7
Epoch: 1
License: PSF
Group: Development/Languages/Python
@@ -765,6 +765,7 @@ rm -rf $RPM_BUILD_ROOT
%exclude %{py_libdir}/sre_*.py[co]
%exclude %{py_libdir}/stat.py[co]
%exclude %{py_libdir}/sysconfig.py[co]
+%exclude %{py_libdir}/_sysconfigdata.py[co]
%exclude %{py_libdir}/timeit.py[co]
%exclude %{py_libdir}/os.py[co]
%exclude %{py_libdir}/_weakrefset.py[co]
@@ -959,6 +960,7 @@ rm -rf $RPM_BUILD_ROOT
%{py_libdir}/sre_*.py[co]
%{py_libdir}/stat.py[co]
%{py_libdir}/sysconfig.py[co]
+%{py_libdir}/_sysconfigdata.py[co]
%{py_libdir}/os.py[co]
%{py_libdir}/_weakrefset.py[co]
%{py_libdir}/traceback.py[co]
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python.git/commitdiff/e25b75d74a23bd321a067ad469afd64a4558f6af
More information about the pld-cvs-commit
mailing list