- %{profileopt} variable is set according to the variable

%{do_profiling} (bsc#1227999)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python311?expand=0&rev=137
This commit is contained in:
Matej Cepl 2024-08-07 20:15:48 +00:00 committed by Git OBS Bridge
parent 763dd72636
commit 19a07a5898
2 changed files with 8 additions and 0 deletions

View File

@ -4,6 +4,8 @@ Wed Aug 7 12:12:42 UTC 2024 - Matej Cepl <mcepl@suse.com>
- 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 <mcepl@cepl.eu>

View File

@ -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