public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-sequoia-keystore] rawhide: Build with the default Fedora crypto backend (OpenSSL)
@ 2026-07-25 20:57 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-07-25 20:57 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-sequoia-keystore
Branch : rawhide
Commit : e10f9cbf8f5face7310fe61b49047912e7186685
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-07-25T22:56:56+02:00
Stats : +15/-4 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/rust-sequoia-keystore/c/e10f9cbf8f5face7310fe61b49047912e7186685?branch=rawhide
Log:
Build with the default Fedora crypto backend (OpenSSL)
---
diff --git a/rust-sequoia-keystore.spec b/rust-sequoia-keystore.spec
index 607e310..ea4f262 100644
--- a/rust-sequoia-keystore.spec
+++ b/rust-sequoia-keystore.spec
@@ -16,6 +16,7 @@ Source: %{crates_source}
Patch: sequoia-keystore-fix-metadata-auto.diff
# Manually created patch for downstream crate metadata changes
# * drop unused OpenPGP card and TPM backend support (missing dependencies)
+# * swap sequoia-openpgp backend for tests to crypto-openssl
Patch: sequoia-keystore-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
@@ -83,8 +84,8 @@ use the "softkeys" 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 c016783..ac8406c 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,5 +1,6 @@
[package]
cargo-toml-patch-comments = [
"drop unused OpenPGP card and TPM backend support (missing dependencies)",
+ "swap sequoia-openpgp backend for tests to crypto-openssl",
]
diff --git a/sequoia-keystore-fix-metadata-auto.diff b/sequoia-keystore-fix-metadata-auto.diff
index e3ab868..77f7dbf 100644
--- a/sequoia-keystore-fix-metadata-auto.diff
+++ b/sequoia-keystore-fix-metadata-auto.diff
@@ -1,5 +1,5 @@
--- sequoia-keystore-0.7.2/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ sequoia-keystore-0.7.2/Cargo.toml 2026-02-10T17:08:20.113634+00:00
++++ sequoia-keystore-0.7.2/Cargo.toml 2026-07-25T20:47:48.017388+00:00
@@ -148,10 +148,3 @@
]
default-features = false
diff --git a/sequoia-keystore-fix-metadata.diff b/sequoia-keystore-fix-metadata.diff
index 64a4664..7842bdd 100644
--- a/sequoia-keystore-fix-metadata.diff
+++ b/sequoia-keystore-fix-metadata.diff
@@ -1,5 +1,5 @@
--- sequoia-keystore-0.7.2/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ sequoia-keystore-0.7.2/Cargo.toml 2026-02-10T17:08:20.114784+00:00
++++ sequoia-keystore-0.7.2/Cargo.toml 2026-07-25T20:47:52.920404+00:00
@@ -44,9 +44,7 @@
"gpg-agent",
]
@@ -27,3 +27,12 @@
optional = true
[dependencies.sequoia-openpgp]
+@@ -143,7 +133,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:57 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:57 [rpms/rust-sequoia-keystore] 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