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: Fix FailsToInstall
Date: Fri, 23 Oct 2026 19:05:38 GMT [thread overview]
Message-ID: <179278233889.1.5400020479739151091.rpms-rust-sev-456495c1fd74@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-sev
Branch : update-8.0.0
Commit : 456495c1fd7451cc339b15c59257b5ca0f558b45
Author : Cole Robinson <crobinso@redhat.com>
Date : 2024-12-14T19:37:56-05:00
Stats : +23/-2 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rust-sev/c/456495c1fd7451cc339b15c59257b5ca0f558b45?branch=update-8.0.0
Log:
Fix FailsToInstall
Mark the rdrand dep as optional, like upstream does, and rust2rpm
will handle the rest for us
Signed-off-by: Cole Robinson <crobinso@redhat.com>
---
diff --git a/rust-sev.spec b/rust-sev.spec
index 1e36139..b7abdbb 100644
--- a/rust-sev.spec
+++ b/rust-sev.spec
@@ -1,5 +1,5 @@
-# Generated by rust2rpm 26
-%bcond_without check
+# Generated by rust2rpm 27
+%bcond check 1
%global debug_package %{nil}
%global crate sev
@@ -17,6 +17,10 @@ Source: %{crates_source}
# try to build on other arches
ExclusiveArch: x86_64
+# Manually created patch for downstream crate metadata changes
+# * Mark rdrand dep optional like is done upstream
+Patch: sev-fix-metadata.diff
+
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
diff --git a/rust2rpm.toml b/rust2rpm.toml
index 635ba23..55dff92 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,3 +1,9 @@
+[package]
+cargo-toml-patch-comments = [
+ "Mark rdrand dep optional like is done upstream",
+]
+
+
[features]
hide = [
# These features require particular hardware:
diff --git a/sev-fix-metadata.diff b/sev-fix-metadata.diff
new file mode 100644
index 0000000..0eb250c
--- /dev/null
+++ b/sev-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- sev-4.0.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ sev-4.0.0/Cargo.toml 2024-12-15T00:32:26.892440+00:00
+@@ -178,7 +178,7 @@
+ hw_tests = []
+ openssl = [
+ "dep:openssl",
+- "rdrand",
++ "dep:rdrand",
+ ]
+ sev = []
+ snp = []
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=179278233889.1.5400020479739151091.rpms-rust-sev-456495c1fd74@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