diff --git a/import_failed.map b/import_failed.map index f33690c..7cba163 100644 --- a/import_failed.map +++ b/import_failed.map @@ -1,7 +1,7 @@ -python311-curses: curses _curses _curses_panel -python311-dbm: dbm _dbm _gdbm -python311-idle: idlelib -python311-testsuite: test _ctypes_test _testbuffer _testcapi _testinternalcapi _testimportmultiple _testmultiphase xxlimited -python311-tk: tkinter _tkinter -python311-tools: turtledemo -python311: sqlite3 readline _sqlite3 nis +python312-curses: curses _curses +python312-dbm: dbm _dbm _gdbm +python312-idle: idlelib +python312-testsuite: test _ctypes_test _testbuffer _testcapi _testclinic _testinternalcapi _testimportmultiple _testmultiphase _testsinglephase _xxinterpchannels _xxtestfuzz +python312-tk: tkinter _tkinter +python312-tools: turtledemo +python312: sqlite3 readline _sqlite3 nis diff --git a/python312.changes b/python312.changes index 756b362..987716f 100644 --- a/python312.changes +++ b/python312.changes @@ -4,6 +4,11 @@ Wed Jun 26 20:00:38 UTC 2024 - Matej Cepl - Add docs-docutils_014-Sphinx_420.patch make building docs compatible with Sphinx 4_2_0 and docutils 0.14. +------------------------------------------------------------------- +Wed Jun 26 08:08:19 UTC 2024 - Andreas Schwab + +- Update import_failed.map for python 3.12 + ------------------------------------------------------------------- Mon Jun 24 12:14:52 UTC 2024 - Andreas Schwab diff --git a/python312.spec b/python312.spec index 5e2eafc..da7cb74 100644 --- a/python312.spec +++ b/python312.spec @@ -773,6 +773,9 @@ LD_LIBRARY_PATH=. ./python -O -c "from py_compile import compile; compile('$FAIL cd $FAILDIR while read package modules; do for module in $modules; do +%if 0%{?suse_version} >= 1599 + test $module = nis && continue +%endif ln import_failed.py $module.py pushd __pycache__ for i in import_failed*; do