public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-sequoia-keystore-backend] rawhide: Build with the default Fedora crypto backend (OpenSSL)
@ 2026-07-25 21:00 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-07-25 21:00 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-sequoia-keystore-backend
Branch : rawhide
Commit : f9f83727ca8527f017f3d3e17216e2978f688451
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-07-25T23:00:18+02:00
Stats : +23/-4 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/rust-sequoia-keystore-backend/c/f9f83727ca8527f017f3d3e17216e2978f688451?branch=rawhide
Log:
Build with the default Fedora crypto backend (OpenSSL)
---
diff --git a/rust-sequoia-keystore-backend.spec b/rust-sequoia-keystore-backend.spec
index 4b486eb..af2ac37 100644
--- a/rust-sequoia-keystore-backend.spec
+++ b/rust-sequoia-keystore-backend.spec
@@ -1,4 +1,4 @@
-# Generated by rust2rpm 27
+# Generated by rust2rpm 28
%bcond check 1
%global debug_package %{nil}
@@ -14,6 +14,9 @@ URL: https://crates.io/crates/sequoia-keystore-backend
Source: %{crates_source}
# Automatically generated patch to strip dependencies and normalize metadata
Patch: sequoia-keystore-backend-fix-metadata-auto.diff
+# Manually created patch for downstream crate metadata changes
+# * swap sequoia-openpgp backend for tests to crypto-openssl
+Patch: sequoia-keystore-backend-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-keystore-backend-fix-metadata-auto.diff b/sequoia-keystore-backend-fix-metadata-auto.diff
index 4609d43..4496969 100644
--- a/sequoia-keystore-backend-fix-metadata-auto.diff
+++ b/sequoia-keystore-backend-fix-metadata-auto.diff
@@ -1,5 +1,5 @@
--- sequoia-keystore-backend-0.7.0/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ sequoia-keystore-backend-0.7.0/Cargo.toml 2025-03-08T11:09:03.015156+00:00
++++ sequoia-keystore-backend-0.7.0/Cargo.toml 2026-07-25T20:49:45.730383+00:00
@@ -85,10 +85,3 @@
]
default-features = false
diff --git a/sequoia-keystore-backend-fix-metadata.diff b/sequoia-keystore-backend-fix-metadata.diff
new file mode 100644
index 0000000..6cc5a89
--- /dev/null
+++ b/sequoia-keystore-backend-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- sequoia-keystore-backend-0.7.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ sequoia-keystore-backend-0.7.0/Cargo.toml 2026-07-25T20:49:52.373274+00:00
+@@ -80,7 +80,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:00 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:00 [rpms/rust-sequoia-keystore-backend] 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