You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: buildrpm/oci-utils.spec
+57-16Lines changed: 57 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
Name: oci-utils
2
-
Version: 0.12.7
3
-
Release:1%{?dist}
2
+
Version: 0.12.8
3
+
Release:0%{?dist}
4
4
Url: http://cloud.oracle.com/iaas
5
5
Summary: Oracle Cloud Infrastructure utilities
6
6
License: UPL
@@ -18,34 +18,52 @@ BuildRequires: systemd
18
18
BuildRequires: python3-devel
19
19
BuildRequires: python3-setuptools
20
20
Requires: python3
21
-
Requires: python3-daemon
22
-
Requires: python3-sdnotify
21
+
#
23
22
Requires: xfsprogs
24
23
Requires: cloud-utils-growpart
25
24
# for lsblk
26
25
Requires: util-linux
27
26
# for iscsiadm
28
27
Requires: iscsi-initiator-utils
29
-
Requires: python36-oci-sdk
30
28
#
31
-
%if 0%{?rhel} == 7
32
-
Requires: python36-netaddr
33
-
%else
29
+
%if 0%{?rhel} == 9
30
+
Requires: python39-oci-sdk
31
+
Requires: python3-netaddr
32
+
Requires: python3-daemon
33
+
Requires: python3-sdnotify
34
+
%endif
35
+
#
36
+
%if 0%{?rhel} == 8
34
37
Requires: network-scripts
35
38
Requires: python3-netaddr
39
+
Requires: python3-daemon
40
+
Requires: python3-sdnotify
36
41
%endif
37
-
42
+
#
43
+
%if 0%{?rhel} == 7
44
+
Requires: python36-netaddr
45
+
Requires: python36-oci-sdk
46
+
Requires: python3-daemon
47
+
Requires: python3-sdnotify
48
+
%endif
49
+
#
38
50
%description
39
51
A package with useful scripts for querying/validating the state of Oracle Cloud Infrastructure instances running Oracle Linux and facilitating some common configuration tasks.
40
52
41
53
%package kvm
42
54
Summary: Utilitizes for managing virtualization in Oracle Cloud Infrastructure
43
55
Group: Development/Tools
44
56
Requires: %{name} = %{version}-%{release}
45
-
46
-
%if 0%{?rhel} >= 8
57
+
#
58
+
%if 0%{?rhel} == 9
59
+
Requires: python3-libvirt
60
+
%endif
61
+
#
62
+
%if 0%{?rhel} == 8
47
63
Requires: python3-libvirt
48
-
%else
64
+
%endif
65
+
#
66
+
%if 0%{?rhel} == 7
49
67
Requires: python36-libvirt
50
68
%endif
51
69
@@ -66,14 +84,25 @@ Requires: util-linux
66
84
Requires: parted
67
85
Requires: bind-utils
68
86
Requires: qemu-img >= 15:2.12
69
-
# for upload and import
87
+
#
88
+
%if 0%{?rhel} == 9
89
+
Requires: python3
90
+
Requires: python39-oci-cli
91
+
Requires: python3-pyyaml
92
+
%endif
93
+
#
94
+
%if 0%{?rhel} == 8
95
+
Requires: python3
70
96
Requires: python36-oci-cli
71
-
%if 0%{?rhel} == 7
72
-
Requires: python36-pyyaml
73
-
%else
74
97
Requires: python3-pyyaml
98
+
%endif
99
+
#
100
+
%if 0%{?rhel} == 7
75
101
Requires: python36
102
+
Requires: python36-pyyaml
103
+
Requires: python36-oci-cli
76
104
%endif
105
+
#
77
106
%description migrate
78
107
Utilities for migrating on-premise guests to Oracle Cloud Infrastructure.
79
108
@@ -176,6 +205,18 @@ rm -rf %{buildroot}
176
205
/opt/oci-utils/tests/__init__*
177
206
178
207
%changelog
208
+
* Wed Mar 30 2022Guido Tijskens <guido.tijskens@oracle.com> -- 0.12.7-3
209
+
- spec file fixed for ol9 builds of oci-kvm and oci-migrate
210
+
- tests for instance distribution and version
211
+
212
+
* Wed Mar 09 2022Guido Tijskens <guido.tijskens@oracle.com> -- 0.12.7-2
213
+
- LINUX-11994 oci-utils for OL9
214
+
- adjust oci-kvm guest test
215
+
- show-all option for oci-iscsi-config
216
+
- LINUX-12111 oci-public-ip (oci-utils) does not show the reason why no public ip's are returned.
217
+
- LINUX-12119 oci-public-ip does not have the correct ordering in "primary on top"
218
+
- update oci-kvm
219
+
179
220
* Wed Feb 16 2022Guido Tijskens <guido.tijskens@oracle.com> -- 0.12.7-1
180
221
- LINUX-12109 Local iSCSI info not available" after running oci-iscsi-config sync
181
222
- LINUX-12114 oci-utils help info contains ref to python main module iso the command
0 commit comments