public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-sev] update-8.0.0: Update to 8.0.0
@ 2026-10-23 19:05 Tyler Fanelli
0 siblings, 0 replies; only message in thread
From: Tyler Fanelli @ 2026-10-23 19:05 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-sev
Branch : update-8.0.0
Commit : da9f47e4f8514f4880473941133751ed7e6973bf
Author : Tyler Fanelli <tfanelli@redhat.com>
Date : 2026-10-23T15:04:50-04:00
Stats : +2/-152 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rust-sev/c/da9f47e4f8514f4880473941133751ed7e6973bf?branch=update-8.0.0
Log:
Update to 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/rust-sev.spec b/rust-sev.spec
index e97d010..d7c4e02 100644
--- a/rust-sev.spec
+++ b/rust-sev.spec
@@ -8,22 +8,13 @@
%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
BuildRequires: cargo-rpm-macros >= 24
diff --git a/rust2rpm.toml b/rust2rpm.toml
index 083a57e..6d33e82 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,9 +1,5 @@
[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",
-]
+cargo-toml-patch-comments = []
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"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-23 19:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-23 19:05 [rpms/rust-sev] update-8.0.0: Update to 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