[packages/python] move traceback module to -libs

atler atler at pld-linux.org
Fri Dec 3 12:50:41 CET 2021


commit e71fef50a52a656ce4f8c34739080065c6163d94
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri Dec 3 12:49:56 2021 +0100

    move traceback module to -libs
    
    $ python2
    Traceback (most recent call last):
      File "/usr/lib64/python2.7/site.py", line 64, in <module>
      ImportError: No module named traceback

 python.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/python.spec b/python.spec
index f24a550..f1de7d3 100644
--- a/python.spec
+++ b/python.spec
@@ -769,6 +769,7 @@ rm -rf $RPM_BUILD_ROOT
 %exclude %{py_libdir}/os.py[co]
 %exclude %{py_libdir}/_weakrefset.py[co]
 %exclude %{py_libdir}/encodings/*.py[co]
+%exclude %{py_libdir}/traceback.py[co]
 %exclude %{py_libdir}/types.py[co]
 %exclude %{py_libdir}/warnings.py[co]
 
@@ -960,6 +961,7 @@ rm -rf $RPM_BUILD_ROOT
 %{py_libdir}/sysconfig.py[co]
 %{py_libdir}/os.py[co]
 %{py_libdir}/_weakrefset.py[co]
+%{py_libdir}/traceback.py[co]
 # needed by the dynamic sys.lib patch
 %{py_libdir}/types.py[co]
 %{py_libdir}/warnings.py[co]
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list