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

A new commit has been pushed.

Repo   : rpms/rust-sequoia-keystore-softkeys
Branch : rawhide
Commit : 3dcf023533dd973dfd64af19db58c11ed7078360
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-07-25T23:09:02+02:00
Stats  : +10/-6 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-sequoia-keystore-softkeys/c/3dcf023533dd973dfd64af19db58c11ed7078360?branch=rawhide

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

---
diff --git a/rust-sequoia-keystore-softkeys.spec b/rust-sequoia-keystore-softkeys.spec
index 238cde8..14d9f4f 100644
--- a/rust-sequoia-keystore-softkeys.spec
+++ b/rust-sequoia-keystore-softkeys.spec
@@ -16,6 +16,7 @@ Source:         %{crates_source}
 Patch:          sequoia-keystore-softkeys-fix-metadata-auto.diff
 # Manually created patch for downstream crate metadata changes
 # * enable missing "sequoia-openpgp/compression" feature
+# * swap sequoia-openpgp backend for tests to crypto-openssl
 Patch:          sequoia-keystore-softkeys-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24
@@ -59,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
index 9d76473..69f347b 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,5 +1,6 @@
 [package]
 cargo-toml-patch-comments = [
     "enable missing \"sequoia-openpgp/compression\" feature",
+    "swap sequoia-openpgp backend for tests to crypto-openssl",
 ]
 

diff --git a/sequoia-keystore-softkeys-fix-metadata-auto.diff b/sequoia-keystore-softkeys-fix-metadata-auto.diff
index 81ce80d..8d40882 100644
--- a/sequoia-keystore-softkeys-fix-metadata-auto.diff
+++ b/sequoia-keystore-softkeys-fix-metadata-auto.diff
@@ -1,5 +1,5 @@
 --- sequoia-keystore-softkeys-0.7.1/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ sequoia-keystore-softkeys-0.7.1/Cargo.toml	2025-12-01T22:25:52.052461+00:00
++++ sequoia-keystore-softkeys-0.7.1/Cargo.toml	2026-07-25T20:59:44.124021+00:00
 @@ -103,10 +103,3 @@
  ]
  default-features = false

diff --git a/sequoia-keystore-softkeys-fix-metadata.diff b/sequoia-keystore-softkeys-fix-metadata.diff
index 321c4cd..a269112 100644
--- a/sequoia-keystore-softkeys-fix-metadata.diff
+++ b/sequoia-keystore-softkeys-fix-metadata.diff
@@ -1,5 +1,5 @@
 --- sequoia-keystore-softkeys-0.7.1/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ sequoia-keystore-softkeys-0.7.1/Cargo.toml	2025-12-01T22:26:17.192291+00:00
++++ sequoia-keystore-softkeys-0.7.1/Cargo.toml	2026-07-25T20:59:48.530534+00:00
 @@ -70,11 +70,6 @@
  [dev-dependencies.env_logger]
  version = ">=0.10, <0.12"
@@ -12,11 +12,13 @@
  [dev-dependencies.tempfile]
  version = "3"
  
-@@ -98,6 +93,7 @@
+@@ -98,7 +93,8 @@
  [target."cfg(not(windows))".dev-dependencies.sequoia-openpgp]
  version = "2"
  features = [
+-    "crypto-nettle",
 +    "compression",
-     "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:09 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:09 [rpms/rust-sequoia-keystore-softkeys] 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