public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-sequoia-ipc] rawhide: Build with the default Fedora crypto backend (OpenSSL)
@ 2026-07-25 20:56 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-07-25 20:56 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-25 20:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-25 20:56 [rpms/rust-sequoia-ipc] rawhide: Build with the default Fedora crypto backend (OpenSSL) Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox