-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Python 3.11 subpackage to be usable in ansible-core 2.14 for el8 (#…
…104) Signed-off-by: Martin Nečas <[email protected]>
- Loading branch information
Showing
2 changed files
with
22 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,16 +43,17 @@ API. | |
%endif | ||
|
||
%if 0%{?rhel} < 9 | ||
%package -n python39-ovirt-engine-sdk4 | ||
%package -n python3.11-ovirt-engine-sdk4 | ||
Summary: oVirt Engine Software Development Kit (Python) | ||
BuildRequires: python39-devel | ||
BuildRequires: python3.11-devel | ||
BuildRequires: python3.11-setuptools | ||
Requires: libxml2 | ||
Requires: python39 | ||
Requires: python39-pycurl >= 7.43.0-6 | ||
Requires: python39-six | ||
Requires: python3.11 | ||
Requires: python3.11-pycurl >= 7.43.0-6 | ||
Requires: python3.11-six | ||
|
||
%description -n python39-ovirt-engine-sdk4 | ||
This package contains the Python 3.9 SDK for version 4 of the oVirt Engine | ||
%description -n python3.11-ovirt-engine-sdk4 | ||
This package contains the Python 3.11 SDK for version 4 of the oVirt Engine | ||
API. | ||
%endif | ||
|
||
|
@@ -64,8 +65,8 @@ API. | |
%define __python3 /usr/bin/python3 | ||
%py3_build | ||
%if 0%{?rhel} < 9 | ||
%define python3_pkgversion 39 | ||
%define __python3 /usr/bin/python3.9 | ||
%define python3_pkgversion 3.11 | ||
%define __python3 /usr/bin/python3.11 | ||
%py3_build | ||
%endif | ||
%if 0%{?rhel} >= 9 | ||
|
@@ -79,8 +80,8 @@ API. | |
%define __python3 /usr/bin/python3 | ||
%py3_install | ||
%if 0%{?rhel} < 9 | ||
%define python3_pkgversion 39 | ||
%define __python3 /usr/bin/python3.9 | ||
%define python3_pkgversion 3.11 | ||
%define __python3 /usr/bin/python3.11 | ||
%py3_install | ||
%endif | ||
%if 0%{?rhel} >= 9 | ||
|
@@ -98,12 +99,12 @@ API. | |
%{python3_sitearch}/* | ||
|
||
%if 0%{?rhel} < 9 | ||
%files -n python39-ovirt-engine-sdk4 | ||
%files -n python3.11-ovirt-engine-sdk4 | ||
%doc README.adoc | ||
%doc examples | ||
%license LICENSE.txt | ||
%define python3_pkgversion 39 | ||
%define __python3 /usr/bin/python3.9 | ||
%define python3_pkgversion 3.11 | ||
%define __python3 /usr/bin/python3.11 | ||
%{python3_sitearch}/* | ||
%endif | ||
|
||
|
@@ -118,6 +119,9 @@ API. | |
%endif | ||
|
||
%changelog | ||
* Thu Mar 23 2023 Martin Necas <[email protected]> - 4.6.2-1 | ||
- Add Python 3.11 subpackage to be usable in ansible-core 2.14 for el8 | ||
|
||
* Wed Mar 1 2023 Martin Necas <[email protected]> - 4.6.1-1 | ||
- Add Python 3.11 subpackage to be usable in ansible-core-2.14 | ||
|
||
|