|
43 | 43 | %endif |
44 | 44 |
|
45 | 45 | %if 0%{?rhel} < 9 |
46 | | -%package -n python39-ovirt-engine-sdk4 |
| 46 | +%package -n python3.11-ovirt-engine-sdk4 |
47 | 47 | Summary: oVirt Engine Software Development Kit (Python) |
48 | | -BuildRequires: python39-devel |
| 48 | +BuildRequires: python3.11-devel |
| 49 | +BuildRequires: python3.11-setuptools |
49 | 50 | Requires: libxml2 |
50 | | -Requires: python39 |
51 | | -Requires: python39-pycurl >= 7.43.0-6 |
52 | | -Requires: python39-six |
| 51 | +Requires: python3.11 |
| 52 | +Requires: python3.11-pycurl >= 7.43.0-6 |
| 53 | +Requires: python3.11-six |
53 | 54 |
|
54 | | -%description -n python39-ovirt-engine-sdk4 |
55 | | -This package contains the Python 3.9 SDK for version 4 of the oVirt Engine |
| 55 | +%description -n python3.11-ovirt-engine-sdk4 |
| 56 | +This package contains the Python 3.11 SDK for version 4 of the oVirt Engine |
56 | 57 | API. |
57 | 58 | %endif |
58 | 59 |
|
|
64 | 65 | %define __python3 /usr/bin/python3 |
65 | 66 | %py3_build |
66 | 67 | %if 0%{?rhel} < 9 |
67 | | -%define python3_pkgversion 39 |
68 | | -%define __python3 /usr/bin/python3.9 |
| 68 | +%define python3_pkgversion 3.11 |
| 69 | +%define __python3 /usr/bin/python3.11 |
69 | 70 | %py3_build |
70 | 71 | %endif |
71 | 72 | %if 0%{?rhel} >= 9 |
|
79 | 80 | %define __python3 /usr/bin/python3 |
80 | 81 | %py3_install |
81 | 82 | %if 0%{?rhel} < 9 |
82 | | -%define python3_pkgversion 39 |
83 | | -%define __python3 /usr/bin/python3.9 |
| 83 | +%define python3_pkgversion 3.11 |
| 84 | +%define __python3 /usr/bin/python3.11 |
84 | 85 | %py3_install |
85 | 86 | %endif |
86 | 87 | %if 0%{?rhel} >= 9 |
|
98 | 99 | %{python3_sitearch}/* |
99 | 100 |
|
100 | 101 | %if 0%{?rhel} < 9 |
101 | | -%files -n python39-ovirt-engine-sdk4 |
| 102 | +%files -n python3.11-ovirt-engine-sdk4 |
102 | 103 | %doc README.adoc |
103 | 104 | %doc examples |
104 | 105 | %license LICENSE.txt |
105 | | -%define python3_pkgversion 39 |
106 | | -%define __python3 /usr/bin/python3.9 |
| 106 | +%define python3_pkgversion 3.11 |
| 107 | +%define __python3 /usr/bin/python3.11 |
107 | 108 | %{python3_sitearch}/* |
108 | 109 | %endif |
109 | 110 |
|
|
118 | 119 | %endif |
119 | 120 |
|
120 | 121 | %changelog |
| 122 | +* Thu Mar 23 2023 Martin Necas < [email protected]> - 4.6.2-1 |
| 123 | +- Add Python 3.11 subpackage to be usable in ansible-core 2.14 for el8 |
| 124 | + |
121 | 125 | * Wed Mar 1 2023 Martin Necas < [email protected]> - 4.6.1-1 |
122 | 126 | - Add Python 3.11 subpackage to be usable in ansible-core-2.14 |
123 | 127 |
|
|
0 commit comments