From 091b4b20e9f8fc324b0db7e04cb20b8426ab8612 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Oct 02 2018 14:38:43 +0000 Subject: Compile the debug build with -Og rather than -O0 That is, "optimize for debugging experience" rather than "don't optimize". --- diff --git a/python3.spec b/python3.spec index 993132b..6bc5a64 100644 --- a/python3.spec +++ b/python3.spec @@ -14,7 +14,7 @@ URL: https://www.python.org/ # WARNING When rebasing to a new Python version, # remember to update the python3-docs package as well Version: %{pybasever}.0 -Release: 9%{?dist} +Release: 10%{?dist} License: Python @@ -742,7 +742,7 @@ BuildPython() { %if %{with debug_build} BuildPython debug \ "--without-ensurepip --with-pydebug" \ - "-O0" + "-Og" %endif # with debug_build BuildPython optimized \ @@ -1551,6 +1551,9 @@ CheckPython optimized # ====================================================== %changelog +* Thu Sep 27 2018 Petr Viktorin - 3.7.0-10 +- Compile the debug build with -Og rather than -O0 + * Thu Aug 30 2018 Miro HronĨok - 3.7.0-9 - Require python3-setuptools from python3-devel to prevent packaging errors (#1623914)