File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,21 @@ Requires: python3-six
2727This package contains the Python 3 SDK for version 4 of the oVirt Engine
2828API.
2929
30+ %if 0%{?rhel} >= 9
31+ %package -n python3.11-ovirt-engine-sdk4
32+ Summary: oVirt Engine Software Development Kit (Python)
33+ BuildRequires: python3.11-devel
34+ BuildRequires: python3.11-setuptools
35+ Requires: libxml2
36+ Requires: python3.11
37+ Requires: python3.11-pycurl >= 7.43.0-6
38+ Requires: python3.11-six
39+
40+ %description -n python3.11-ovirt-engine-sdk4
41+ This package contains the Python 3.11 SDK for version 4 of the oVirt Engine
42+ API.
43+ %endif
44+
3045%if 0%{?rhel} < 9
3146%package -n python39-ovirt-engine-sdk4
3247Summary: oVirt Engine Software Development Kit (Python)
5368%define __python3 /usr/bin/python3.9
5469%py3_build
5570%endif
71+ %if 0%{?rhel} >= 9
72+ %define python3_pkgversion 3.11
73+ %define __python3 /usr/bin/python3.11
74+ %py3_build
75+ %endif
5676
5777%install
5878%define python3_pkgversion 3
6383%define __python3 /usr/bin/python3.9
6484%py3_install
6585%endif
86+ %if 0%{?rhel} >= 9
87+ %define python3_pkgversion 3.11
88+ %define __python3 /usr/bin/python3.11
89+ %py3_install
90+ %endif
6691
6792%files -n python3-ovirt-engine-sdk4
6893%doc README.adoc
82107%{python3_sitearch}/*
83108%endif
84109
110+ %if 0%{?rhel} >= 9
111+ %files -n python3.11-ovirt-engine-sdk4
112+ %doc README.adoc
113+ %doc examples
114+ %license LICENSE.txt
115+ %define python3_pkgversion 3.11
116+ %define __python3 /usr/bin/python3.11
117+ %{python3_sitearch}/*
118+ %endif
119+
85120%changelog
86121* Fri Nov 25 2022 Martin Perina <
[email protected] > - 4.6.0-1
87122- Update to model 4.6.0
You can’t perform that action at this time.
0 commit comments