Define %python3_pkgversion based on the Python's status
Main Python should retain the value '3', non-main the major-minor one. We need that to request the correctly versioned wheels for EPEL builds.
This commit is contained in:
parent
8df7c5a736
commit
c6f6c7c522
1 changed files with 2 additions and 0 deletions
|
|
@ -140,9 +140,11 @@ Provides: bundled(python3dist(zipp)) = 3.19.2
|
|||
%if %{with main_python}
|
||||
%global pkgname python3
|
||||
%global exename python3
|
||||
%global python3_pkgversion 3
|
||||
%else
|
||||
%global pkgname python%{pybasever}
|
||||
%global exename python%{pybasever}
|
||||
%global python3_pkgversion %{pybasever}
|
||||
%endif
|
||||
|
||||
# ABIFLAGS, LDVERSION and SOABI are in the upstream configure.ac
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue