]> git.pld-linux.org Git - packages/python.git/commitdiff
move traceback module to -libs
authorJan Palus <atler@pld-linux.org>
Fri, 3 Dec 2021 11:49:56 +0000 (12:49 +0100)
committerJan Palus <atler@pld-linux.org>
Fri, 3 Dec 2021 11:49:56 +0000 (12:49 +0100)
$ python2
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site.py", line 64, in <module>
  ImportError: No module named traceback

python.spec

index f24a550075aca54edf8e2a88accf8e462f7d5b02..f1de7d3ea192f984d77c08219467aba43c4b014c 100644 (file)
@@ -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]
This page took 0.140442 seconds and 4 git commands to generate.