public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-sequoia-wot] rawhide: Build with the default Fedora crypto backend (OpenSSL)
@ 2026-07-25 21:19 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-07-25 21:19 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-sequoia-wot
Branch : rawhide
Commit : d3a0ae9ec2dd2afe2fbc6cbdae4cd6cb63af198d
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-07-25T23:18:45+02:00
Stats : +22/-3 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/rust-sequoia-wot/c/d3a0ae9ec2dd2afe2fbc6cbdae4cd6cb63af198d?branch=rawhide
Log:
Build with the default Fedora crypto backend (OpenSSL)
---
diff --git a/rust-sequoia-wot.spec b/rust-sequoia-wot.spec
index 4ad89f9..f648aa7 100644
--- a/rust-sequoia-wot.spec
+++ b/rust-sequoia-wot.spec
@@ -14,6 +14,9 @@ URL: https://crates.io/crates/sequoia-wot
Source: %{crates_source}
# Automatically generated patch to strip dependencies and normalize metadata
Patch: sequoia-wot-fix-metadata-auto.diff
+# Manually created patch for downstream crate metadata changes
+# * swap sequoia-openpgp backend for tests to crypto-openssl
+Patch: sequoia-wot-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
@@ -56,8 +59,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..3c5c43c
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,5 @@
+[package]
+cargo-toml-patch-comments = [
+ "swap sequoia-openpgp backend for tests to crypto-openssl",
+]
+
diff --git a/sequoia-wot-fix-metadata-auto.diff b/sequoia-wot-fix-metadata-auto.diff
index e3fa3c4..68c4f86 100644
--- a/sequoia-wot-fix-metadata-auto.diff
+++ b/sequoia-wot-fix-metadata-auto.diff
@@ -1,5 +1,5 @@
--- sequoia-wot-0.15.2/Cargo.toml 2006-07-24T01:21:28+00:00
-+++ sequoia-wot-0.15.2/Cargo.toml 2026-05-27T17:12:00.552673+00:00
++++ sequoia-wot-0.15.2/Cargo.toml 2026-07-25T21:07:19.764648+00:00
@@ -78,27 +78,10 @@
version = "1"
default-features = false
diff --git a/sequoia-wot-fix-metadata.diff b/sequoia-wot-fix-metadata.diff
new file mode 100644
index 0000000..e4ac055
--- /dev/null
+++ b/sequoia-wot-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- sequoia-wot-0.15.2/Cargo.toml 2006-07-24T01:21:28+00:00
++++ sequoia-wot-0.15.2/Cargo.toml 2026-07-25T21:07:25.604920+00:00
+@@ -81,7 +81,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 21:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-25 21:19 [rpms/rust-sequoia-wot] 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