From 5c1f70d712f0e09355ab9ea359a25f5285f0ecb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 8 Dec 2023 19:15:03 +0000 Subject: [PATCH] Own stray directories in /usr/lib64/python3.11 Fixes https://bugzilla.redhat.com/2252144 --- python3.11.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/python3.11.spec b/python3.11.spec index 8735c2e..ff494ca 100644 --- a/python3.11.spec +++ b/python3.11.spec @@ -1344,6 +1344,7 @@ CheckPython optimized %{pylibdir}/multiprocessing %dir %{pylibdir}/re/ +%dir %{pylibdir}/re/__pycache__/ %{pylibdir}/re/*.py %{pylibdir}/re/__pycache__/*%{bytecode_suffixes} @@ -1353,6 +1354,7 @@ CheckPython optimized %{pylibdir}/sqlite3/__pycache__/*%{bytecode_suffixes} %dir %{pylibdir}/tomllib/ +%dir %{pylibdir}/tomllib/__pycache__/ %{pylibdir}/tomllib/*.py %{pylibdir}/tomllib/__pycache__/*%{bytecode_suffixes} %exclude %{pylibdir}/turtle.py @@ -1362,7 +1364,8 @@ CheckPython optimized %{pylibdir}/xml %{pylibdir}/zoneinfo -%dir %{pylibdir}/__phello__ +%dir %{pylibdir}/__phello__/ +%dir %{pylibdir}/__phello__/__pycache__/ %{pylibdir}/__phello__/__init__.py %{pylibdir}/__phello__/spam.py %{pylibdir}/__phello__/__pycache__/*%{bytecode_suffixes} @@ -1622,6 +1625,8 @@ CheckPython optimized %changelog * Wed Dec 06 2023 Tomáš Hrnčiar - 3.11.7-1 - Update to 3.11.7 +- Own stray directories in /usr/lib64/python3.11 +- Fixes: rhbz#2252144 * Tue Oct 03 2023 Yaakov Selkowitz - 3.11.6-2 - Use bundled libb2 in RHEL builds