4
4
5
5
Name: cloud-hypervisor-cvm
6
6
Summary: Cloud Hypervisor CVM is an open source Virtual Machine Monitor (VMM) that enables running SEV SNP enabled VMs on top of MSHV using the IGVM file format as payload.
7
- Version: 38 .0.72.2
8
- Release: 4 %{?dist }
7
+ Version: 41 .0.79
8
+ Release: 1 %{?dist }
9
9
License: ASL 2.0 OR BSD-3-clause
10
10
Vendor: Microsoft Corporation
11
11
Distribution: Azure Linux
12
12
Group: Applications/System
13
13
URL: https://github.com/microsoft/cloud-hypervisor
14
14
Source0: https://github.com/microsoft/cloud-hypervisor/archive/refs/tags/msft/v%{version }.tar.gz#/%{name}-%{version}.tar.gz
15
15
%if 0%{?using_vendored_crates }
16
- # Note: the %%{name}-%%{version}-cargo .tar.gz file contains a cache created by capturing the contents downloaded into $CARGO_HOME.
16
+ # Note: the %%{name}-%%{version}-vendor .tar.gz file contains a cache created by capturing the contents downloaded into $CARGO_HOME.
17
17
# To update the cache and config.toml run:
18
18
# tar -xf %%{name}-%%{version}.tar.gz
19
19
# cd %%{name}-%%{version}
20
- # patch -u -p0 < ../upgrade-openssl-to-3.3.2-to-address-CVE-2024-6119.patch
21
20
# cargo vendor > config.toml
22
- # tar -czf %%{name}-%%{version}-cargo.tar.gz vendor/
23
- # rename the tarball to %%{name}-%%{version}-2-cargo.tar.gz when updating version
24
- # (feel free to drop -2 and this comment on version change)
25
- Source1: %{name }-%{version }-2-cargo.tar.gz
21
+ # tar -czf %%{name}-%%{version}-vendor.tar.gz vendor/
22
+ Source1: %{name }-%{version }-vendor.tar.gz
26
23
Source2: config.toml
27
24
%endif
28
- # Generated using:
29
- # tar -xf %%{name}-%%{version}.tar.gz
30
- # cd %%{name}-%%{version}
31
- # cargo update -p openssl-src --precise 300.3.2+3.3.2
32
- # diff -u ../cloud-hypervisor-msft-v38.0.72.2.backup/Cargo.lock Cargo.lock > ../upgrade-openssl-to-3.3.2-to-address-CVE-2024-6119.patch
33
- Patch0: upgrade-openssl-to-3.3.2-to-address-CVE-2024-6119.patch
34
- Patch1: CVE-2024-12797.patch
35
25
36
26
BuildRequires: binutils
37
27
BuildRequires: gcc
@@ -40,8 +30,8 @@ BuildRequires: glibc-devel
40
30
BuildRequires: openssl-devel
41
31
42
32
%if ! 0%{?using_rustup }
43
- BuildRequires: rust < 1.85.0
44
- BuildRequires: cargo < 1.85.0
33
+ BuildRequires: rust >= 1.85.0
34
+ BuildRequires: cargo >= 1.85.0
45
35
%endif
46
36
47
37
Requires: bash
@@ -78,15 +68,12 @@ Cloud Hypervisor is an open source Virtual Machine Monitor (VMM) that runs on to
78
68
79
69
%prep
80
70
81
- %setup -q -n cloud-hypervisor-msft-v %{version }
71
+ %setup -q -n cloud-hypervisor-%{version }
82
72
%if 0%{?using_vendored_crates }
83
73
tar xf %{SOURCE1 }
84
74
mkdir -p .cargo
85
75
cp %{SOURCE2 } .cargo/
86
76
%endif
87
- # The vendored archive has been populated based on the patch, so we need to
88
- # repatch here as well in order to use the same versions
89
- %autopatch -p0
90
77
91
78
%install
92
79
install -d %{buildroot }%{_bindir }
@@ -144,10 +131,14 @@ cargo build --release --target=%{rust_musl_target} %{cargo_pkg_feature_opts} %{c
144
131
%{_libdir }/cloud-hypervisor/static/ch-remote
145
132
%caps(cap_net_admim=ep) %{_libdir }/cloud-hypervisor/static/cloud-hypervisor
146
133
%endif
147
- %license LICENSE-APACHE
148
- %license LICENSE-BSD-3-Clause
134
+ %license LICENSES/Apache-2.0 .txt
135
+ %license LICENSES/BSD-3-Clause .txt
136
+ %license LICENSES/CC-BY-4.0.txt
149
137
150
138
%changelog
139
+ * Mon Apr 28 2025 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 41.0.79-1
140
+ - Auto-upgrade to 41.0.79
141
+
151
142
* Mon Apr 21 2025 Kavya Sree Kaitepalli <kkaitepalli@microsoft.com> - 38.0.72.2-4
152
143
- Pin rust version
153
144
0 commit comments