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-cert-store] rawhide: Build with the default Fedora crypto backend (OpenSSL)
Date: Sat, 25 Jul 2026 20:44:42 GMT	[thread overview]
Message-ID: <178501228244.1.3654546823578402418.rpms-rust-sequoia-cert-store-05b8770e51aa@fedoraproject.org> (raw)

A new commit has been pushed.

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

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

---
diff --git a/rust-sequoia-cert-store.spec b/rust-sequoia-cert-store.spec
index dd641e5..2ee6490 100644
--- a/rust-sequoia-cert-store.spec
+++ b/rust-sequoia-cert-store.spec
@@ -16,6 +16,7 @@ Source:         %{crates_source}
 Patch:          sequoia-cert-store-fix-metadata-auto.diff
 # Manually created patch for downstream crate metadata changes
 # * exclude integration tests, test data, and scripts from installed files
+# * swap sequoia-openpgp backend for tests to crypto-openssl
 Patch:          sequoia-cert-store-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24
@@ -72,8 +73,8 @@ use the "keyserver" 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 0c4e0f3..799999f 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,5 +1,6 @@
 [package]
 cargo-toml-patch-comments = [
     "exclude integration tests, test data, and scripts from installed files",
+    "swap sequoia-openpgp backend for tests to crypto-openssl",
 ]
 

diff --git a/sequoia-cert-store-fix-metadata-auto.diff b/sequoia-cert-store-fix-metadata-auto.diff
index 0c0fb05..cdb4971 100644
--- a/sequoia-cert-store-fix-metadata-auto.diff
+++ b/sequoia-cert-store-fix-metadata-auto.diff
@@ -1,5 +1,5 @@
 --- sequoia-cert-store-0.7.3/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ sequoia-cert-store-0.7.3/Cargo.toml	2026-05-27T13:16:13.339533+00:00
++++ sequoia-cert-store-0.7.3/Cargo.toml	2026-07-25T20:39:22.723827+00:00
 @@ -113,14 +113,6 @@
  ]
  default-features = false

diff --git a/sequoia-cert-store-fix-metadata.diff b/sequoia-cert-store-fix-metadata.diff
index e10ebea..2227a80 100644
--- a/sequoia-cert-store-fix-metadata.diff
+++ b/sequoia-cert-store-fix-metadata.diff
@@ -1,5 +1,5 @@
 --- sequoia-cert-store-0.7.3/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ sequoia-cert-store-0.7.3/Cargo.toml	2026-05-27T13:16:13.340759+00:00
++++ sequoia-cert-store-0.7.3/Cargo.toml	2026-07-25T20:39:32.424695+00:00
 @@ -42,6 +42,7 @@
  license = "LGPL-2.0-or-later"
  repository = "https://gitlab.com/sequoia-pgp/sequoia-cert-store"
@@ -8,3 +8,12 @@
  
  [package.metadata.docs.rs]
  features = ["sequoia-openpgp/default"]
+@@ -108,7 +109,7 @@
+ [target.'cfg(all(not(windows), not(target_family = "wasm")))'.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:44 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=178501228244.1.3654546823578402418.rpms-rust-sequoia-cert-store-05b8770e51aa@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