@@ -27,7 +27,6 @@ Requires: python3-six
27
27
This package contains the Python 3 SDK for version 4 of the oVirt Engine
28
28
API.
29
29
30
- %if 0%{?rhel} >= 9
31
30
%package -n python3.11-ovirt-engine-sdk4
32
31
Summary: oVirt Engine Software Development Kit (Python)
33
32
BuildRequires: python3.11-devel
@@ -40,22 +39,19 @@ Requires: python3.11-six
40
39
%description -n python3.11-ovirt-engine-sdk4
41
40
This package contains the Python 3.11 SDK for version 4 of the oVirt Engine
42
41
API.
43
- %endif
44
42
45
- %if 0%{?rhel} < 9
46
- %package -n python3.11-ovirt-engine-sdk4
43
+ %package -n python3.12-ovirt-engine-sdk4
47
44
Summary: oVirt Engine Software Development Kit (Python)
48
- BuildRequires: python3.11 -devel
49
- BuildRequires: python3.11 -setuptools
45
+ BuildRequires: python3.12 -devel
46
+ BuildRequires: python3.12 -setuptools
50
47
Requires: libxml2
51
- Requires: python3.11
52
- Requires: python3.11 -pycurl >= 7.43.0-6
53
- Requires: python3.11 -six
48
+ Requires: python3.12
49
+ Requires: python3.12 -pycurl >= 7.43.0-6
50
+ Requires: python3.12 -six
54
51
55
- %description -n python3.11 -ovirt-engine-sdk4
56
- This package contains the Python 3.11 SDK for version 4 of the oVirt Engine
52
+ %description -n python3.12 -ovirt-engine-sdk4
53
+ This package contains the Python 3.12 SDK for version 4 of the oVirt Engine
57
54
API.
58
- %endif
59
55
60
56
%prep
61
57
%setup -c -q -n ovirt-engine-sdk-python-@PACKAGE_VERSION@
64
60
%define python3_pkgversion 3
65
61
%define __python3 /usr/bin/python3
66
62
%py3_build
67
- %if 0%{?rhel} < 9
68
63
%define python3_pkgversion 3.11
69
64
%define __python3 /usr/bin/python3.11
70
65
%py3_build
71
- %endif
72
- %if 0%{?rhel} >= 9
73
- %define python3_pkgversion 3.11
74
- %define __python3 /usr/bin/python3.11
66
+ %define python3_pkgversion 3.12
67
+ %define __python3 /usr/bin/python3.12
75
68
%py3_build
76
- %endif
77
69
78
70
%install
79
71
%define python3_pkgversion 3
80
72
%define __python3 /usr/bin/python3
81
73
%py3_install
82
- %if 0%{?rhel} < 9
83
74
%define python3_pkgversion 3.11
84
75
%define __python3 /usr/bin/python3.11
85
76
%py3_install
86
- %endif
87
- %if 0%{?rhel} >= 9
88
- %define python3_pkgversion 3.11
89
- %define __python3 /usr/bin/python3.11
77
+ %define python3_pkgversion 3.12
78
+ %define __python3 /usr/bin/python3.12
90
79
%py3_install
91
- %endif
92
80
93
81
%files -n python3-ovirt-engine-sdk4
94
82
%doc README.adoc
98
86
%define __python3 /usr/bin/python3
99
87
%{python3_sitearch}/*
100
88
101
- %if 0%{?rhel} < 9
102
89
%files -n python3.11-ovirt-engine-sdk4
103
90
%doc README.adoc
104
91
%doc examples
105
92
%license LICENSE.txt
106
93
%define python3_pkgversion 3.11
107
94
%define __python3 /usr/bin/python3.11
108
95
%{python3_sitearch}/*
109
- %endif
110
96
111
- %if 0%{?rhel} >= 9
112
- %files -n python3.11-ovirt-engine-sdk4
97
+ %files -n python3.12-ovirt-engine-sdk4
113
98
%doc README.adoc
114
99
%doc examples
115
100
%license LICENSE.txt
116
- %define python3_pkgversion 3.11
117
- %define __python3 /usr/bin/python3.11
101
+ %define python3_pkgversion 3.12
102
+ %define __python3 /usr/bin/python3.12
118
103
%{python3_sitearch}/*
119
- %endif
120
104
121
105
%changelog
122
106
* Thu Mar 23 2023 Martin Necas <
[email protected] > - 4.6.2-1
0 commit comments