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-gpg-agent] rawhide: Build with the default Fedora crypto backend (OpenSSL)
Date: Sat, 25 Jul 2026 20:48:46 GMT [thread overview]
Message-ID: <178501252671.1.16546826913139925728.rpms-rust-sequoia-gpg-agent-d7407e6a8790@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-sequoia-gpg-agent
Branch : rawhide
Commit : d7407e6a8790df20f7b431839448e2bdc599cb12
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-07-25T22:48:28+02:00
Stats : +22/-27 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rust-sequoia-gpg-agent/c/d7407e6a8790df20f7b431839448e2bdc599cb12?branch=rawhide
Log:
Build with the default Fedora crypto backend (OpenSSL)
---
diff --git a/0001-fix-compatibility-with-gnupg-2.3.patch b/0001-fix-compatibility-with-gnupg-2.3.patch
deleted file mode 100644
index 17155c5..0000000
--- a/0001-fix-compatibility-with-gnupg-2.3.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From da1fd097af6bffc172b485b375a3173872902993 Mon Sep 17 00:00:00 2001
-From: Fabio Valentini <decathorpe@gmail.com>
-Date: Tue, 29 Apr 2025 23:19:22 +0200
-Subject: [PATCH] fix compatibility with gnupg 2.3
-
----
- src/lib.rs | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/src/lib.rs b/src/lib.rs
-index ec4b51f..34497e1 100644
---- a/src/lib.rs
-+++ b/src/lib.rs
-@@ -1353,7 +1353,6 @@ impl EccScalarChecksumMode {
- if v.starts_with("2.0.")
- || v.starts_with("2.1.")
- || v.starts_with("2.2.")
-- || v.starts_with("2.3.")
- {
- EccScalarChecksumMode::MPI
- } else {
---
-2.49.0
-
diff --git a/rust-sequoia-gpg-agent.spec b/rust-sequoia-gpg-agent.spec
index 559611a..37fe72d 100644
--- a/rust-sequoia-gpg-agent.spec
+++ b/rust-sequoia-gpg-agent.spec
@@ -14,6 +14,9 @@ URL: https://crates.io/crates/sequoia-gpg-agent
Source: %{crates_source}
# Automatically generated patch to strip dependencies and normalize metadata
Patch: sequoia-gpg-agent-fix-metadata-auto.diff
+# Manually created patch for downstream crate metadata changes
+# * swap sequoia-openpgp backend for tests to crypto-openssl
+Patch: sequoia-gpg-agent-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
%if %{with check}
@@ -59,8 +62,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
index 8970305..105d799 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,3 +1,8 @@
+[package]
+cargo-toml-patch-comments = [
+ "swap sequoia-openpgp backend for tests to crypto-openssl",
+]
+
[requires]
test = ["/usr/bin/gpgconf"]
diff --git a/sequoia-gpg-agent-fix-metadata-auto.diff b/sequoia-gpg-agent-fix-metadata-auto.diff
index 3cdfa00..a8a1d90 100644
--- a/sequoia-gpg-agent-fix-metadata-auto.diff
+++ b/sequoia-gpg-agent-fix-metadata-auto.diff
@@ -1,5 +1,5 @@
--- sequoia-gpg-agent-0.6.2/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ sequoia-gpg-agent-0.6.2/Cargo.toml 2025-12-01T22:23:11.787190+00:00
++++ sequoia-gpg-agent-0.6.2/Cargo.toml 2026-07-25T20:40:44.640905+00:00
@@ -148,13 +148,6 @@
]
default-features = false
diff --git a/sequoia-gpg-agent-fix-metadata.diff b/sequoia-gpg-agent-fix-metadata.diff
new file mode 100644
index 0000000..6c123e1
--- /dev/null
+++ b/sequoia-gpg-agent-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- sequoia-gpg-agent-0.6.2/Cargo.toml 1970-01-01T00:00:01+00:00
++++ sequoia-gpg-agent-0.6.2/Cargo.toml 2026-07-25T20:41:30.167506+00:00
+@@ -143,7 +143,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 20:48 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=178501252671.1.16546826913139925728.rpms-rust-sequoia-gpg-agent-d7407e6a8790@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