public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-sequoia-sop] epel10: Switch crypto backend from Nettle to OpenSSL
Date: Mon, 15 Jun 2026 10:51:30 GMT [thread overview]
Message-ID: <178152069012.1.12617031716047240934.rpms-rust-sequoia-sop-855cf9722eee@fedoraproject.org> (raw)
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"
reply other threads:[~2026-06-15 10:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178152069012.1.12617031716047240934.rpms-rust-sequoia-sop-855cf9722eee@fedoraproject.org \
--to=decathorpe@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox