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-keystore] rawhide: Build with the default Fedora crypto backend (OpenSSL)
Date: Sat, 25 Jul 2026 20:57:17 GMT	[thread overview]
Message-ID: <178501303780.1.10533969455090993632.rpms-rust-sequoia-keystore-e10f9cbf8f5f@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-sequoia-keystore
Branch : rawhide
Commit : e10f9cbf8f5face7310fe61b49047912e7186685
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-07-25T22:56:56+02:00
Stats  : +15/-4 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-sequoia-keystore/c/e10f9cbf8f5face7310fe61b49047912e7186685?branch=rawhide

Log:
Build with the default Fedora crypto backend (OpenSSL)

---
diff --git a/rust-sequoia-keystore.spec b/rust-sequoia-keystore.spec
index 607e310..ea4f262 100644
--- a/rust-sequoia-keystore.spec
+++ b/rust-sequoia-keystore.spec
@@ -16,6 +16,7 @@ Source:         %{crates_source}
 Patch:          sequoia-keystore-fix-metadata-auto.diff
 # Manually created patch for downstream crate metadata changes
 # * drop unused OpenPGP card and TPM backend support (missing dependencies)
+# * swap sequoia-openpgp backend for tests to crypto-openssl
 Patch:          sequoia-keystore-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24
@@ -83,8 +84,8 @@ use the "softkeys" 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 c016783..ac8406c 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,5 +1,6 @@
 [package]
 cargo-toml-patch-comments = [
     "drop unused OpenPGP card and TPM backend support (missing dependencies)",
+    "swap sequoia-openpgp backend for tests to crypto-openssl",
 ]
 

diff --git a/sequoia-keystore-fix-metadata-auto.diff b/sequoia-keystore-fix-metadata-auto.diff
index e3ab868..77f7dbf 100644
--- a/sequoia-keystore-fix-metadata-auto.diff
+++ b/sequoia-keystore-fix-metadata-auto.diff
@@ -1,5 +1,5 @@
 --- sequoia-keystore-0.7.2/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ sequoia-keystore-0.7.2/Cargo.toml	2026-02-10T17:08:20.113634+00:00
++++ sequoia-keystore-0.7.2/Cargo.toml	2026-07-25T20:47:48.017388+00:00
 @@ -148,10 +148,3 @@
  ]
  default-features = false

diff --git a/sequoia-keystore-fix-metadata.diff b/sequoia-keystore-fix-metadata.diff
index 64a4664..7842bdd 100644
--- a/sequoia-keystore-fix-metadata.diff
+++ b/sequoia-keystore-fix-metadata.diff
@@ -1,5 +1,5 @@
 --- sequoia-keystore-0.7.2/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ sequoia-keystore-0.7.2/Cargo.toml	2026-02-10T17:08:20.114784+00:00
++++ sequoia-keystore-0.7.2/Cargo.toml	2026-07-25T20:47:52.920404+00:00
 @@ -44,9 +44,7 @@
      "gpg-agent",
  ]
@@ -27,3 +27,12 @@
  optional = true
  
  [dependencies.sequoia-openpgp]
+@@ -143,7 +133,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:57 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=178501303780.1.10533969455090993632.rpms-rust-sequoia-keystore-e10f9cbf8f5f@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