diff --git a/python3.spec b/python3.spec index 7b0e49af67a00c39786fc2e6ecb61fa54940cfb9..6e526635e046d4c8bf4b961e186d5977f776257a 100644 --- a/python3.spec +++ b/python3.spec @@ -1,4 +1,4 @@ -%define anolis_release .0.2 +%define anolis_release .0.3 # ================== # Top-level metadata # ================== @@ -168,11 +168,15 @@ License: Python # need different filenames. Use "64" or "32" according to the word size. # Currently, the best way to determine an architecture's word size happens to # be checking %%{_lib}. +%ifnarch sw_64 %if "%{_lib}" == "lib64" %global wordsize 64 %else %global wordsize 32 %endif +%else +%global wordsize 64 +%endif # %ifnarch sw_64 # ======================= @@ -2068,6 +2072,9 @@ fi # ====================================================== %changelog +* Thu Feb 1 2024 - 3.6.8-51.0.3.1 +- sw use python of wordsize 64. + * Thu Jun 29 2023 wxiat - 3.6.8-51.0.2.1 - add sw patch