From 7967b6090265b97f4613cb07c7f0c6a44fbd82bb Mon Sep 17 00:00:00 2001 From: lvfei Date: Sun, 21 May 2023 22:21:23 -0400 Subject: [PATCH] optimize spec bcond_with optimizations --- python3.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/python3.spec b/python3.spec index 59952e4..b7de193 100644 --- a/python3.spec +++ b/python3.spec @@ -3,17 +3,14 @@ Summary: Interpreter of the Python3 programming language URL: https://www.python.org/ Version: 3.10.9 -Release: 3 +Release: 4 License: Python-2.0 %global branchversion 3.10 %global pyshortver 310 -%ifarch %{ix86} x86_64 +# Expensive optimizations (mainly, profile-guided optimizations) %bcond_with optimizations -%else -%bcond_with optimizations -%endif %global pylibdir %{_libdir}/python%{branchversion} %global dynload_dir %{pylibdir}/lib-dynload @@ -804,6 +801,12 @@ export BEP_GTDLIST="$BEP_GTDLIST_TMP" %{_mandir}/*/* %changelog +* Mon May 22 2023 lvfei - 3.10.9-4 +- Type:optimize +- CVE:NA +- SUG:NA +- DESC:optimize spec bcond_with optimizations + * Thu Apr 06 2023 shixuantong - 3.10.9-3 - Type:CVE - CVE:CVE-2023-24329 -- Gitee