public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-sequoia-cert-store] rawhide: Build with the default Fedora crypto backend (OpenSSL)
@ 2026-07-25 20:44 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-07-25 20:44 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

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

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

---
diff --git a/rust-sequoia-cert-store.spec b/rust-sequoia-cert-store.spec
index dd641e5..2ee6490 100644
--- a/rust-sequoia-cert-store.spec
+++ b/rust-sequoia-cert-store.spec
@@ -16,6 +16,7 @@ Source:         %{crates_source}
 Patch:          sequoia-cert-store-fix-metadata-auto.diff
 # Manually created patch for downstream crate metadata changes
 # * exclude integration tests, test data, and scripts from installed files
+# * swap sequoia-openpgp backend for tests to crypto-openssl
 Patch:          sequoia-cert-store-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24
@@ -72,8 +73,8 @@ use the "keyserver" 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 0c4e0f3..799999f 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,5 +1,6 @@
 [package]
 cargo-toml-patch-comments = [
     "exclude integration tests, test data, and scripts from installed files",
+    "swap sequoia-openpgp backend for tests to crypto-openssl",
 ]
 

diff --git a/sequoia-cert-store-fix-metadata-auto.diff b/sequoia-cert-store-fix-metadata-auto.diff
index 0c0fb05..cdb4971 100644
--- a/sequoia-cert-store-fix-metadata-auto.diff
+++ b/sequoia-cert-store-fix-metadata-auto.diff
@@ -1,5 +1,5 @@
 --- sequoia-cert-store-0.7.3/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ sequoia-cert-store-0.7.3/Cargo.toml	2026-05-27T13:16:13.339533+00:00
++++ sequoia-cert-store-0.7.3/Cargo.toml	2026-07-25T20:39:22.723827+00:00
 @@ -113,14 +113,6 @@
  ]
  default-features = false

diff --git a/sequoia-cert-store-fix-metadata.diff b/sequoia-cert-store-fix-metadata.diff
index e10ebea..2227a80 100644
--- a/sequoia-cert-store-fix-metadata.diff
+++ b/sequoia-cert-store-fix-metadata.diff
@@ -1,5 +1,5 @@
 --- sequoia-cert-store-0.7.3/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ sequoia-cert-store-0.7.3/Cargo.toml	2026-05-27T13:16:13.340759+00:00
++++ sequoia-cert-store-0.7.3/Cargo.toml	2026-07-25T20:39:32.424695+00:00
 @@ -42,6 +42,7 @@
  license = "LGPL-2.0-or-later"
  repository = "https://gitlab.com/sequoia-pgp/sequoia-cert-store"
@@ -8,3 +8,12 @@
  
  [package.metadata.docs.rs]
  features = ["sequoia-openpgp/default"]
+@@ -108,7 +109,7 @@
+ [target.'cfg(all(not(windows), not(target_family = "wasm")))'.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:44 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:44 [rpms/rust-sequoia-cert-store] 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