Update to 0.6.1

This commit is contained in:
Yaakov Selkowitz 2025-06-25 15:44:01 -04:00
commit 10a6430a52
5 changed files with 25 additions and 7 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
/snphost-0.1.2.crate
/snphost-0.4.0.crate
/snphost-0.5.0.crate
/snphost-0.6.1.crate

View file

@ -1,20 +1,24 @@
# Generated by rust2rpm 24
%bcond_without check
# Generated by rust2rpm 27
%bcond check 1
%global crate snphost
Name: rust-snphost
Version: 0.5.0
Version: 0.6.1
Release: %autorelease
Summary: Administrative utility for AMD SEV-SNP
License: Apache-2.0
URL: https://crates.io/crates/snphost
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * Relax sev dependency to what's packaged in Fedora
Patch: snphost-fix-metadata.diff
# snphost is a tool using features specific to AMD EPYC processors (x86_64).
ExclusiveArch: x86_64
BuildRequires: rust-packaging >= 21
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Administrative utility for AMD SEV-SNP.}
@ -43,7 +47,7 @@ License: Apache-2.0 AND BSD-3-Clause AND MIT AND MPL-2.0 AND Unicode-DFS-
%{_bindir}/snphost
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
@ -51,7 +55,7 @@ License: Apache-2.0 AND BSD-3-Clause AND MIT AND MPL-2.0 AND Unicode-DFS-
%build
%cargo_build
%cargo_license_summary
%{cargo_license_summary}
%{cargo_license} > LICENSE.dependencies
%install

4
rust2rpm.toml Normal file
View file

@ -0,0 +1,4 @@
[package]
cargo-toml-patch-comments = [
"Relax sev dependency to what's packaged in Fedora",
]

View file

@ -0,0 +1,9 @@
--- snphost-0.6.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ snphost-0.6.1/Cargo.toml 2025-06-25T19:39:15.809528+00:00
@@ -83,5 +83,5 @@
version = "0.2.0"
[dependencies.sev]
-version = "6.2.1"
+version = "6.1.0"
features = ["openssl"]

View file

@ -1 +1 @@
SHA512 (snphost-0.5.0.crate) = 55c5cea1e8ac6b2ba225f8c8b07da89f204072179abe5c3d70c813e1687774251c05e18b1c2999fa19a1f94dfb4b01376e143b421e25d43fe2164741038ea4d8
SHA512 (snphost-0.6.1.crate) = 945335cbd61f7d404e65f5a8e3b3dbf0efe930065834076ae0fca64637a1118001a62b77dc5b24e5f67eedd14850f05a017fa95d4215c8bf65cc58c2468282e4