public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-sev] rawhide: Update to version 8.0.0
@ 2026-10-26 19:02 Tyler Fanelli
  0 siblings, 0 replies; only message in thread
From: Tyler Fanelli @ 2026-10-26 19:02 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-sev
Branch : rawhide
Commit : 6de8077c400682904a0fcaae40398036b2ffc8b0
Author : Tyler Fanelli <tfanelli@redhat.com>
Date   : 2026-10-26T15:02:16-04:00
Stats  : +26/-153 in 7 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-sev/c/6de8077c400682904a0fcaae40398036b2ffc8b0?branch=rawhide

Log:
Update to version 8.0.0

---
diff --git a/0002-Fix-missing-trailing-semicolon-for-bitfield-0.15.patch b/0002-Fix-missing-trailing-semicolon-for-bitfield-0.15.patch
deleted file mode 100644
index d46ae85..0000000
--- a/0002-Fix-missing-trailing-semicolon-for-bitfield-0.15.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 44d95fa18177ff368bd2d75a993b1243a4ea0f3a Mon Sep 17 00:00:00 2001
-From: Attila Lakatos <alakatos@redhat.com>
-Date: Wed, 16 Sep 2026 07:53:38 +0200
-Subject: [PATCH] Fix missing trailing semicolon for compatibility with
- bitfield 0.15
-
-bitfield 0.15 requires every field accessor in a bitfield! block to end
-with a semicolon, including the last one.  Upstream targets bitfield
-^0.19 where the trailing semicolon is optional; without this fix, the
-crate fails to compile against the Fedora-packaged bitfield 0.15.
----
- src/firmware/guest/types/snp.rs | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/firmware/guest/types/snp.rs b/src/firmware/guest/types/snp.rs
-index e3d4cdb..84a3b5f 100644
---- a/src/firmware/guest/types/snp.rs
-+++ b/src/firmware/guest/types/snp.rs
-@@ -951,7 +951,7 @@ bitfield! {
-     /// Indicates that alias detection has completed since the last system reset and there are no aliasing addresses. Resets to 0.
-     pub alias_check_complete, _: 5;
-     /// Indicates that SEV-TIO is enabled.
--    pub tio_enabled, _ : 7
-+    pub tio_enabled, _ : 7;
- 
- }
- 
--- 
-2.55.0
-

diff --git a/changelog b/changelog
deleted file mode 100644
index 48dff12..0000000
--- a/changelog
+++ /dev/null
@@ -1,60 +0,0 @@
-* Mon Oct 28 2024 Tyler Fanelli <tfanelli@redhat.com> - 4.0.0-2
-- Build with fixed rdrand dependency.
-
-* Thu Sep 05 2024 Tyler Fanelli <tfanelli@redhat.com> - 4.0.0-1
-- Update to version 4.0.0
-
-* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> -
-3.2.0-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
-
-* Thu Jul 11 2024 Tyler Fanelli <tfanelli@redhat.com> - 3.2.0
-- Update to version 3.2.0
-
-* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> -
-1.2.1-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
-
-* Thu Jul 20 2023 Tyler Fanelli <tfanelli@redhat.com> - 1.2.1-1
-- Remove mmarinus dependency
-- Use older version of serde-big-array
-
-* Thu Jul 06 2023 Tyler Fanelli <tfanelli@redhat.com> - 1.2.0-1
-- Update to version 1.2.0
-
-* Thu Feb 09 2023 Sergio Lopez <slp@redhat.com> - 1.1.0-1
-- Update to version 1.1.0
-
-* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> -
-1.0.1-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
-
-* Wed Nov 16 2022 Tyler Fanelli <tfanelli@redhat.com> - 1.0.1-1
-- Rebase to 1.0.1 release (rhbz#2141113)
-
-* Fri Aug 26 2022 Cole Robinson <crobinso@redhat.com> - 0.3.0-3
-- Only build for x86_64
-
-* Thu Aug 25 2022 Fabio Valentini <decathorpe@gmail.com> - 0.3.0-2
-- Regenerate with rust2rpm v22.
-
-* Thu Aug 25 2022 Tyler Fanelli <tfanelli@redhat.com> - 0.3.0-1
-- Rebase to 0.3.0 release (rhbz#2097874)
-
-* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> -
-0.2.0-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
-
-* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> -
-0.2.0-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
-* Tue Jan  4 2022 Daniel P. Berrangé <berrange@redhat.com> - 0.2.0-1
-- Rebase to 0.2.0 release (rhbz#2034272)
-
-* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> -
-0.1.0-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
-
-* Tue Feb 09 2021 Connor Kuehl <ckuehl@redhat.com> - 0.1.0-1
-- Initial package

diff --git a/deps.diff b/deps.diff
new file mode 100644
index 0000000..0cb300a
--- /dev/null
+++ b/deps.diff
@@ -0,0 +1,22 @@
+diff --git a/Cargo.toml b/Cargo.toml
+index 2ac8fd2..97e538b 100644
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -73,7 +73,6 @@ dangerous_hw_tests = [
+ default = [
+     "sev",
+     "snp",
+-    "openssl?/vendored",
+ ]
+ hw_tests = []
+ openssl = ["dep:openssl"]
+@@ -207,7 +206,7 @@ version = "3.0"
+ version = "^0.1"
+ 
+ [target.'cfg(target_os = "linux")'.dev-dependencies.kvm-bindings]
+-version = "^0.11"
++version = "0.13"
+ 
+ [target.'cfg(target_os = "linux")'.dev-dependencies.kvm-ioctls]
+-version = ">=0.16"
++version = "0.23"

diff --git a/rust-sev.spec b/rust-sev.spec
index e97d010..3e8856b 100644
--- a/rust-sev.spec
+++ b/rust-sev.spec
@@ -8,22 +8,15 @@
 %global supported_arches x86_64
 
 Name:           rust-sev
-Version:        7.1.0
+Version:        8.0.0
 Release:        %autorelease
 Summary:        Library for AMD SEV
 
 License:        Apache-2.0
 URL:            https://crates.io/crates/sev
 Source:         %{crates_source}
-# Manually created patch for downstream crate metadata changes
-# * Relax bitfield and dirs dependencies to what's packaged in Fedora
-# * Drop the vendored feature from the openssl dependency
-# * Add missing serde_bytes optional dependency used under the serde feature
-#   (merged upstream: https://github.com/virtee/sev/pull/341; drop when upgrading
-#   past the release that includes this fix)
-Patch:          sev-fix-metadata.diff
-# Fix missing trailing semicolon for bitfield 0.15 compatibility
-Patch:          0002-Fix-missing-trailing-semicolon-for-bitfield-0.15.patch
+
+Patch1:         deps.diff
 
 BuildRequires:  cargo-rpm-macros >= 24
 

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 083a57e..8958da8 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,9 +1,4 @@
 [package]
-cargo-toml-patch-comments = [
-    "Relax bitfield and dirs dependencies to what's packaged in Fedora",
-    "Drop the vendored feature from the openssl dependency",
-    "Add missing serde_bytes optional dependency used under the serde feature",
-]
 supported-arches = ["x86_64"]
 
 

diff --git a/sev-fix-metadata.diff b/sev-fix-metadata.diff
deleted file mode 100644
index e797561..0000000
--- a/sev-fix-metadata.diff
+++ /dev/null
@@ -1,47 +0,0 @@
---- sev-7.1.0/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ sev-7.1.0/Cargo.toml	2026-10-12T12:52:08.085367+00:00
-@@ -73,7 +73,6 @@
- default = [
-     "sev",
-     "snp",
--    "openssl?/vendored",
- ]
- hw_tests = []
- openssl = [
-@@ -83,6 +82,7 @@
- serde = [
-     "dep:serde",
-     "dep:serde-big-array",
-+    "dep:serde_bytes",
- ]
- sev = []
- snp = []
-@@ -128,7 +128,7 @@
- version = "0.22.1"
- 
- [dependencies.bitfield]
--version = "^0.19"
-+version = ">=0.15, <0.20"
- 
- [dependencies.bitflags]
- version = "2.9.0"
-@@ -178,6 +178,10 @@
- version = "0.5.1"
- optional = true
- 
-+[dependencies.serde_bytes]
-+version = "0.11"
-+optional = true
-+
- [dependencies.sha2]
- version = "0.10.9"
- optional = true
-@@ -205,7 +209,7 @@
- version = "^0.1"
- 
- [target.'cfg(target_os = "linux")'.dev-dependencies.kvm-bindings]
--version = "^0.11"
-+version = "^0.13"
- 
- [target.'cfg(target_os = "linux")'.dev-dependencies.kvm-ioctls]
- version = ">=0.16"

diff --git a/sources b/sources
index 1c5020e..89f1fe9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (sev-7.1.0.crate) = d52143a27f7f5d1f8bba7bc0ab7379a1df929f7fb13c519812773cdaeadb72bf4f8453b5a4996dd5179e70ba7fa7318adfbebf7b2faecd853d097d1847d263ba
+SHA512 (sev-8.0.0.crate) = c214801e26120d60410d33a1054aaba5f3b080abbf2b9dcc5798dff2c17f1c0a2afdc08dd84a7e599bf360b5ebdaed512f6559308fc3450381750cca2e99e1f6

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-26 19:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-26 19:02 [rpms/rust-sev] rawhide: Update to version 8.0.0 Tyler Fanelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox