diff --git a/python311.changes b/python311.changes index f13d024..76557bf 100644 --- a/python311.changes +++ b/python311.changes @@ -4,6 +4,8 @@ Wed Aug 7 12:12:42 UTC 2024 - Matej Cepl - Add CVE-2024-6923-email-hdr-inject.patch to prevent email header injection due to unquoted newlines (bsc#1228780, CVE-2024-6923). +- %{profileopt} variable is set according to the variable + %{do_profiling} (bsc#1227999) ------------------------------------------------------------------- Mon Jul 22 21:20:55 UTC 2024 - Matej Cepl diff --git a/python311.spec b/python311.spec index 71d3981..c89ec10 100644 --- a/python311.spec +++ b/python311.spec @@ -36,6 +36,12 @@ %bcond_without general %endif +%if 0%{?do_profiling} +%bcond_without profileopt +%else +%bcond_with profileopt +%endif + %define python_pkg_name python311 %if "%{python_pkg_name}" == "%{primary_python}" %define primary_interpreter 1