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-gpg-agent] rawhide: Build with the default Fedora crypto backend (OpenSSL)
Date: Sat, 25 Jul 2026 21:05:54 GMT	[thread overview]
Message-ID: <178501355461.1.15206345447241968573.rpms-rust-sequoia-keystore-gpg-agent-7866ec695e2f@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-sequoia-keystore-gpg-agent
Branch : rawhide
Commit : 7866ec695e2fa6c6b4afd57d1215de67c19b19c1
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-07-25T23:05:34+02:00
Stats  : +11/-7 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-sequoia-keystore-gpg-agent/c/7866ec695e2fa6c6b4afd57d1215de67c19b19c1?branch=rawhide

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

---
diff --git a/rust-sequoia-keystore-gpg-agent.spec b/rust-sequoia-keystore-gpg-agent.spec
index 25d26ad..581e833 100644
--- a/rust-sequoia-keystore-gpg-agent.spec
+++ b/rust-sequoia-keystore-gpg-agent.spec
@@ -1,4 +1,4 @@
-# Generated by rust2rpm 27
+# Generated by rust2rpm 28
 %bcond check 1
 %global debug_package %{nil}
 
@@ -16,6 +16,7 @@ Source:         %{crates_source}
 Patch:          sequoia-keystore-gpg-agent-fix-metadata-auto.diff
 # Manually created patch for downstream crate metadata changes
 # * enable missing "sequoia-openpgp/compression" feature
+# * swap sequoia-openpgp backend for tests to crypto-openssl
 Patch:          sequoia-keystore-gpg-agent-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24
@@ -62,8 +63,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 e518fb2..b91ab23 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,6 +1,7 @@
 [package]
 cargo-toml-patch-comments = [
     "enable missing \"sequoia-openpgp/compression\" feature",
+    "swap sequoia-openpgp backend for tests to crypto-openssl",
 ]
 
 [requires]

diff --git a/sequoia-keystore-gpg-agent-fix-metadata-auto.diff b/sequoia-keystore-gpg-agent-fix-metadata-auto.diff
index ebfa2c4..a5dd3ca 100644
--- a/sequoia-keystore-gpg-agent-fix-metadata-auto.diff
+++ b/sequoia-keystore-gpg-agent-fix-metadata-auto.diff
@@ -1,5 +1,5 @@
 --- sequoia-keystore-gpg-agent-0.5.0/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ sequoia-keystore-gpg-agent-0.5.0/Cargo.toml	2025-03-08T13:18:37.482616+00:00
++++ sequoia-keystore-gpg-agent-0.5.0/Cargo.toml	2026-07-25T20:58:23.592851+00:00
 @@ -106,10 +106,3 @@
  ]
  default-features = false

diff --git a/sequoia-keystore-gpg-agent-fix-metadata.diff b/sequoia-keystore-gpg-agent-fix-metadata.diff
index ba0d5c5..d6c118c 100644
--- a/sequoia-keystore-gpg-agent-fix-metadata.diff
+++ b/sequoia-keystore-gpg-agent-fix-metadata.diff
@@ -1,5 +1,5 @@
 --- sequoia-keystore-gpg-agent-0.5.0/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ sequoia-keystore-gpg-agent-0.5.0/Cargo.toml	2025-03-08T13:18:46.225818+00:00
++++ sequoia-keystore-gpg-agent-0.5.0/Cargo.toml	2026-07-25T20:58:32.329083+00:00
 @@ -84,11 +84,6 @@
  [dev-dependencies.env_logger]
  version = ">=0.10, <0.12"
@@ -12,11 +12,13 @@
  [dev-dependencies.tracing]
  version = "0.1"
  default-features = false
-@@ -101,6 +96,7 @@
+@@ -101,7 +96,8 @@
  [target."cfg(not(windows))".dev-dependencies.sequoia-openpgp]
  version = "2"
  features = [
+-    "crypto-nettle",
 +    "compression",
-     "crypto-nettle",
++    "crypto-openssl",
      "__implicit-crypto-backend-for-tests",
  ]
+ default-features = false

                 reply	other threads:[~2026-07-25 21: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=178501355461.1.15206345447241968573.rpms-rust-sequoia-keystore-gpg-agent-7866ec695e2f@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