public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Cole Robinson <crobinso@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-sev] update-8.0.0: Update to 6.3.1
Date: Fri, 23 Oct 2026 19:05:43 GMT	[thread overview]
Message-ID: <179278234372.1.14104058751135640973.rpms-rust-sev-972d36ea0c1e@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rust-sev
            Branch : update-8.0.0
            Commit : 972d36ea0c1e1511e7651cc495b4dfcf11aebc60
            Author : Cole Robinson <crobinso@redhat.com>
            Date   : 2025-11-07T12:04:58-05:00
            Stats  : +40/-13 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-sev/c/972d36ea0c1e1511e7651cc495b4dfcf11aebc60?branch=update-8.0.0

            Log:
            Update to 6.3.1

Signed-off-by: Cole Robinson <crobinso@redhat.com>

---
diff --git a/bitfield0.15-compat.patch b/bitfield0.15-compat.patch
new file mode 100644
index 0000000..d883d22
--- /dev/null
+++ b/bitfield0.15-compat.patch
@@ -0,0 +1,13 @@
+diff --git a/src/firmware/guest/types/snp.rs b/src/firmware/guest/types/snp.rs
+index 3afec65..c588813 100644
+--- a/src/firmware/guest/types/snp.rs
++++ b/src/firmware/guest/types/snp.rs
+@@ -908,7 +908,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;
+ 
+ }
+ 

diff --git a/rust-sev.spec b/rust-sev.spec
index d42fb26..549a730 100644
--- a/rust-sev.spec
+++ b/rust-sev.spec
@@ -8,7 +8,7 @@
 %global supported_arches x86_64
 
 Name:           rust-sev
-Version:        6.2.1
+Version:        6.3.1
 Release:        %autorelease
 Summary:        Library for AMD SEV
 
@@ -18,7 +18,9 @@ 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
+# * update kvm-bindings dep
 Patch:          sev-fix-metadata.diff
+Patch:          bitfield0.15-compat.patch
 
 BuildRequires:  cargo-rpm-macros >= 24
 

diff --git a/sev-fix-metadata.diff b/sev-fix-metadata.diff
index 29dd0b2..0977ba7 100644
--- a/sev-fix-metadata.diff
+++ b/sev-fix-metadata.diff
@@ -1,7 +1,15 @@
---- sev-6.2.1/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ sev-6.2.1/Cargo.toml	2025-11-02T16:04:37.835161+00:00
-@@ -126,7 +126,7 @@
- version = "^1.3"
+--- sev-6.3.1/Cargo.toml	1970-01-01T00:00:01+00:00
++++ sev-6.3.1/Cargo.toml	2025-11-02T16:06:28.301849+00:00
+@@ -73,7 +73,6 @@
+ default = [
+     "sev",
+     "snp",
+-    "openssl?/vendored",
+ ]
+ hw_tests = []
+ openssl = [
+@@ -128,7 +127,7 @@
+ features = ["serde"]
  
  [dependencies.bitfield]
 -version = "^0.19"
@@ -9,7 +17,7 @@
  
  [dependencies.bitflags]
  version = "2.9.0"
-@@ -138,7 +138,7 @@
+@@ -140,7 +139,7 @@
  version = "3.0"
  
  [dependencies.dirs]
@@ -18,11 +26,15 @@
  
  [dependencies.hex]
  version = "0.4.3"
-@@ -151,7 +151,6 @@
+diff -rup ../rust-sev-6.3.1-build/sev-6.3.1/Cargo.toml sev-6.3.1/Cargo.toml
+--- sev-6.3.1/Cargo.toml	2025-11-07 10:31:59.849097446 -0500
++++ sev-6.3.1/Cargo.toml	2025-11-07 10:34:48.160757930 -0500
+@@ -208,7 +208,7 @@ version = "3.0"
+ version = "^0.1"
  
- [dependencies.openssl]
- version = "0.10"
--features = ["vendored"]
- optional = true
+ [target.'cfg(target_os = "linux")'.dev-dependencies.kvm-bindings]
+-version = "^0.11"
++version = "^0.13"
  
- [dependencies.p384]
+ [target.'cfg(target_os = "linux")'.dev-dependencies.kvm-ioctls]
+ version = ">=0.16"

diff --git a/sources b/sources
index 2cb4f46..cd7ce2a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (sev-6.2.1.crate) = cdcec70c884822b628539a96f8e7d9a2b0c1b40a5af3d806128397ceef56b2836f3aa8fbc8e3a93df9b20f1a8e0ad0f7f832076bb2611ae69a27d4cd41156176
+SHA512 (sev-6.3.1.crate) = 3d95139643102adf7fd2b6b1a80d138a4a59b38f6d58e7ff7d6e4f03bcdce451d79315ccf6be43034a9107f1da90901cf1c2db757f92ab7207664fe75e561e9f

                 reply	other threads:[~2026-10-23 19:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179278234372.1.14104058751135640973.rpms-rust-sev-972d36ea0c1e@fedoraproject.org \
    --to=crobinso@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox