public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-sequoia-sop] epel10: Switch crypto backend from Nettle to OpenSSL
@ 2026-06-15 10:51 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-06-15 10:51 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-sequoia-sop
Branch : epel10
Commit : 855cf9722eee3062aa761b35f507105ce54cded8
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2024-04-22T19:24:43+02:00
Stats : +40/-3 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rust-sequoia-sop/c/855cf9722eee3062aa761b35f507105ce54cded8?branch=epel10
Log:
Switch crypto backend from Nettle to OpenSSL
---
diff --git a/rust-sequoia-sop.spec b/rust-sequoia-sop.spec
index 50d3877..cc9af85 100644
--- a/rust-sequoia-sop.spec
+++ b/rust-sequoia-sop.spec
@@ -12,6 +12,7 @@ License: GPL-2.0-or-later
URL: https://crates.io/crates/sequoia-sop
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
+# * switch crypto backend from Nettle to OpenSSL
# * exclude files that are only useful for upstream development
Patch: sequoia-sop-fix-metadata.diff
@@ -26,19 +27,19 @@ An implementation of the Stateless OpenPGP Interface using Sequoia.}
Summary: %{summary}
# (MIT OR Apache-2.0) AND Unicode-DFS-2016
# 0BSD OR MIT OR Apache-2.0
+# Apache-2.0
# Apache-2.0 OR MIT
# Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
# BSL-1.0
# GPL-2.0-or-later
# LGPL-2.0-or-later
-# LGPL-3.0 OR GPL-2.0 OR GPL-3.0
# MIT
# MIT OR Apache-2.0
# MIT OR Apache-2.0 OR Zlib
# MIT OR Zlib OR Apache-2.0
# Unlicense OR MIT
# Zlib OR Apache-2.0 OR MIT
-License: GPL-2.0-or-later AND BSL-1.0 AND LGPL-2.0-or-later AND MIT AND Unicode-DFS-2016 AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (LGPL-3.0 OR GPL-2.0 OR GPL-3.0) AND (MIT OR Apache-2.0 OR Zlib) AND (Unlicense OR MIT)
+License: GPL-2.0-or-later AND Apache-2.0 AND BSL-1.0 AND LGPL-2.0-or-later AND MIT AND Unicode-DFS-2016 AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR Zlib) AND (Unlicense OR MIT)
# LICENSE.dependencies contains a full license breakdown
%description -n %{crate} %{_description}
@@ -91,6 +92,30 @@ use the "cli" feature of the "%{crate}" crate.
%files -n %{name}+cli-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+crypto-nettle-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+crypto-nettle-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "crypto-nettle" feature of the "%{crate}" crate.
+
+%files -n %{name}+crypto-nettle-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+crypto-openssl-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+crypto-openssl-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "crypto-openssl" feature of the "%{crate}" crate.
+
+%files -n %{name}+crypto-openssl-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
diff --git a/rust2rpm.toml b/rust2rpm.toml
index 7f71723..d5500fc 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,5 +1,6 @@
[package]
cargo-toml-patch-comments = [
+ "switch crypto backend from Nettle to OpenSSL",
"exclude files that are only useful for upstream development",
]
extra-files = [
diff --git a/sequoia-sop-fix-metadata.diff b/sequoia-sop-fix-metadata.diff
index 7ef40fd..0b72017 100644
--- a/sequoia-sop-fix-metadata.diff
+++ b/sequoia-sop-fix-metadata.diff
@@ -1,5 +1,5 @@
--- sequoia-sop-0.32.0/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ sequoia-sop-0.32.0/Cargo.toml 2024-03-20T14:35:15.551931+00:00
++++ sequoia-sop-0.32.0/Cargo.toml 2024-04-22T17:11:56.341064+00:00
@@ -31,6 +31,7 @@
]
license = "GPL-2.0-or-later"
@@ -8,3 +8,14 @@
[lib]
+@@ -54,7 +55,9 @@
+
+ [features]
+ cli = ["sop/cli"]
+-default = ["sequoia-openpgp/default"]
++crypto-nettle = ["sequoia-openpgp/crypto-nettle"]
++crypto-openssl = ["sequoia-openpgp/crypto-openssl"]
++default = ["crypto-openssl", "sequoia-openpgp/compression"]
+
+ [badges.gitlab]
+ repository = "sequoia-pgp/sequoia-sop"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-15 10:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-15 10:51 [rpms/rust-sequoia-sop] epel10: Switch crypto backend from Nettle to 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