public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-sequoia-openpgp-mt] rawhide: Build with the default Fedora crypto backend (OpenSSL)
Date: Sat, 25 Jul 2026 21:16:12 GMT [thread overview]
Message-ID: <178501417209.1.8671324339295661111.rpms-rust-sequoia-openpgp-mt-0d4362d6c0f1@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-sequoia-openpgp-mt
Branch : rawhide
Commit : 0d4362d6c0f17e81fd94168dadba5931aa1350a4
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-07-25T23:15:06+02:00
Stats : +23/-4 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/rust-sequoia-openpgp-mt/c/0d4362d6c0f17e81fd94168dadba5931aa1350a4?branch=rawhide
Log:
Build with the default Fedora crypto backend (OpenSSL)
---
diff --git a/rust-sequoia-openpgp-mt.spec b/rust-sequoia-openpgp-mt.spec
index 2fc9f88..7bf005b 100644
--- a/rust-sequoia-openpgp-mt.spec
+++ b/rust-sequoia-openpgp-mt.spec
@@ -1,4 +1,4 @@
-# Generated by rust2rpm 27
+# Generated by rust2rpm 28
%bcond check 1
%global debug_package %{nil}
@@ -14,6 +14,9 @@ URL: https://crates.io/crates/sequoia-openpgp-mt
Source: %{crates_source}
# Automatically generated patch to strip dependencies and normalize metadata
Patch: sequoia-openpgp-mt-fix-metadata-auto.diff
+# Manually created patch for downstream crate metadata changes
+# * swap sequoia-openpgp backend for tests to crypto-openssl
+Patch: sequoia-openpgp-mt-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
@@ -56,8 +59,8 @@ use the "default" feature of the "%{crate}" crate.
%cargo_generate_buildrequires
%build
-# build with the default crypto backend (Nettle)
-%cargo_build -f sequoia-openpgp/crypto-nettle
+# build with the default Fedora crypto backend (OpenSSL)
+%cargo_build -f sequoia-openpgp/crypto-openssl
%install
%cargo_install
diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..3c5c43c
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,5 @@
+[package]
+cargo-toml-patch-comments = [
+ "swap sequoia-openpgp backend for tests to crypto-openssl",
+]
+
diff --git a/sequoia-openpgp-mt-fix-metadata-auto.diff b/sequoia-openpgp-mt-fix-metadata-auto.diff
index a77c9eb..0a1f1b0 100644
--- a/sequoia-openpgp-mt-fix-metadata-auto.diff
+++ b/sequoia-openpgp-mt-fix-metadata-auto.diff
@@ -1,5 +1,5 @@
--- sequoia-openpgp-mt-0.2.0/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ sequoia-openpgp-mt-0.2.0/Cargo.toml 2025-03-08T10:39:11.629168+00:00
++++ sequoia-openpgp-mt-0.2.0/Cargo.toml 2026-07-25T21:06:23.055231+00:00
@@ -56,16 +56,9 @@
]
default-features = false
diff --git a/sequoia-openpgp-mt-fix-metadata.diff b/sequoia-openpgp-mt-fix-metadata.diff
new file mode 100644
index 0000000..7ef4264
--- /dev/null
+++ b/sequoia-openpgp-mt-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- sequoia-openpgp-mt-0.2.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ sequoia-openpgp-mt-0.2.0/Cargo.toml 2026-07-25T21:06:37.124693+00:00
+@@ -51,7 +51,7 @@
+ [target."cfg(not(windows))".dev-dependencies.sequoia-openpgp]
+ version = "2"
+ features = [
+- "crypto-nettle",
++ "crypto-openssl",
+ "__implicit-crypto-backend-for-tests",
+ ]
+ default-features = false
reply other threads:[~2026-07-25 21:16 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=178501417209.1.8671324339295661111.rpms-rust-sequoia-openpgp-mt-0d4362d6c0f1@fedoraproject.org \
--to=decathorpe@gmail.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