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

A new commit has been pushed.

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

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

---
diff --git a/rust-sequoia-ipc.spec b/rust-sequoia-ipc.spec
index 13a2f22..cf55397 100644
--- a/rust-sequoia-ipc.spec
+++ b/rust-sequoia-ipc.spec
@@ -14,7 +14,10 @@ URL:            https://crates.io/crates/sequoia-ipc
 Source:         %{crates_source}
 # Automatically generated patch to strip dependencies and normalize metadata
 Patch:          sequoia-ipc-fix-metadata-auto.diff
-Patch:          0001-Change-default-backend-server-search-path-to-usr-lib.patch
+# Manually created patch for downstream crate metadata changes
+# * swap sequoia-openpgp backend for tests to crypto-openssl
+Patch:          sequoia-ipc-fix-metadata.diff
+Patch2:         0001-Change-default-backend-server-search-path-to-usr-lib.patch
 
 BuildRequires:  cargo-rpm-macros >= 24
 
@@ -57,8 +60,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..8a00adc
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,9 @@
+[package]
+cargo-toml-patch-comments = [
+    "swap sequoia-openpgp backend for tests to crypto-openssl",
+]
+
+[[package.extra-patches]]
+number = 2
+file = "0001-Change-default-backend-server-search-path-to-usr-lib.patch"
+

diff --git a/sequoia-ipc-fix-metadata-auto.diff b/sequoia-ipc-fix-metadata-auto.diff
index 8c64e9f..71e93ef 100644
--- a/sequoia-ipc-fix-metadata-auto.diff
+++ b/sequoia-ipc-fix-metadata-auto.diff
@@ -1,5 +1,5 @@
 --- sequoia-ipc-0.36.1/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ sequoia-ipc-0.36.1/Cargo.toml	2026-02-10T17:06:16.979549+00:00
++++ sequoia-ipc-0.36.1/Cargo.toml	2026-07-25T20:45:41.618256+00:00
 @@ -123,18 +123,3 @@
  ]
  default-features = false

diff --git a/sequoia-ipc-fix-metadata.diff b/sequoia-ipc-fix-metadata.diff
new file mode 100644
index 0000000..d974a24
--- /dev/null
+++ b/sequoia-ipc-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- sequoia-ipc-0.36.1/Cargo.toml	1970-01-01T00:00:01+00:00
++++ sequoia-ipc-0.36.1/Cargo.toml	2026-07-25T20:45:50.803700+00:00
+@@ -118,7 +118,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:56 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=178501301677.1.18192723557346367967.rpms-rust-sequoia-ipc-350147fa8d71@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