From 3c67985ace337c7627a2487b770188c3c0f22d80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 5 Dec 2023 12:00:52 +0100 Subject: [PATCH] Own stray directories in /usr/lib64/python3.12 Fixes https://bugzilla.redhat.com/2252143 --- python3.12.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/python3.12.spec b/python3.12.spec index 3b5dd66..c2c04a4 100644 --- a/python3.12.spec +++ b/python3.12.spec @@ -1388,6 +1388,7 @@ CheckPython optimized %{pylibdir}/multiprocessing %dir %{pylibdir}/re/ +%dir %{pylibdir}/re/__pycache__/ %{pylibdir}/re/*.py %{pylibdir}/re/__pycache__/*%{bytecode_suffixes} @@ -1397,6 +1398,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 @@ -1406,14 +1408,18 @@ CheckPython optimized %{pylibdir}/xml %dir %{pylibdir}/zipfile/ +%dir %{pylibdir}/zipfile/__pycache__/ %{pylibdir}/zipfile/*.py %{pylibdir}/zipfile/__pycache__/*%{bytecode_suffixes} +%dir %{pylibdir}/zipfile/_path/ +%dir %{pylibdir}/zipfile/_path/__pycache__/ %{pylibdir}/zipfile/_path/*.py %{pylibdir}/zipfile/_path/__pycache__/*%{bytecode_suffixes} %{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} @@ -1668,6 +1674,8 @@ CheckPython optimized %changelog * Fri Dec 08 2023 Tomáš Hrnčiar - 3.12.1-1 - Update to 3.12.1 +- Own stray directories in /usr/lib64/python3.12 +- Fixes: rhbz#2252143 * Thu Oct 05 2023 Yaakov Selkowitz - 3.12.0-2 - Use bundled libb2 in RHEL builds