Build for 3.11 on RHEL 8 and 9
This commit is contained in:
parent
ac18b94e68
commit
fdb05b5cc1
1 changed files with 2 additions and 2 deletions
|
|
@ -11,9 +11,9 @@
|
|||
%global __brp_mangle_shebangs_exclude_from ^%{python3_sitelib}/ansible_collections/[^/]+/[^/]+/roles/[^/]+/(files|templates)/.*$
|
||||
%global __requires_exclude_from %{?__requires_exclude_from:%__requires_exclude_from|}%{__brp_mangle_shebangs_exclude_from}
|
||||
|
||||
%if 0%{?rhel} == 8
|
||||
%if 0%{?rhel} >= 8
|
||||
# RHEL 8's ansible-core package is built using Python 3.9, which is not the default version.
|
||||
%define python3_pkgversion 39
|
||||
%define python3_pkgversion 3.11
|
||||
BuildRequires: python%{python3_pkgversion}-rpm-macros
|
||||
%endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue