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] epel9: Update to version 0.28.0; Fixes RHBZ#2187414
Date: Mon, 15 Jun 2026 21:24:30 GMT [thread overview]
Message-ID: <178155867020.1.2898147887677231877.rpms-rust-sequoia-sop-65063d1b44af@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-sequoia-sop
Branch : epel9
Commit : 65063d1b44af66479f98d0c77fc974186917c926
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2023-05-08T18:17:40+02:00
Stats : +45/-15 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rust-sequoia-sop/c/65063d1b44af66479f98d0c77fc974186917c926?branch=epel9
Log:
Update to version 0.28.0; Fixes RHBZ#2187414
---
diff --git a/.gitignore b/.gitignore
index 76e18a7..76e17c8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/sequoia-sop-0.23.0.crate
/sequoia-sop-0.26.1.crate
/sequoia-sop-0.27.3.crate
+/sequoia-sop-0.28.0.crate
diff --git a/rust-sequoia-sop.spec b/rust-sequoia-sop.spec
index fe34345..6dc799a 100644
--- a/rust-sequoia-sop.spec
+++ b/rust-sequoia-sop.spec
@@ -3,8 +3,10 @@
%global crate sequoia-sop
+%global enabled_features cli,compression,compression-bzip2,compression-deflate,crypto-nettle
+
Name: rust-sequoia-sop
-Version: 0.27.3
+Version: 0.28.0
Release: %autorelease
Summary: Stateless OpenPGP Interface using Sequoia
@@ -13,9 +15,10 @@ URL: https://crates.io/crates/sequoia-sop
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * exclude files that are only useful for upstream development
+# * remove features for unavailable crypto backends
Patch: sequoia-sop-fix-metadata.diff
-BuildRequires: rust-packaging >= 21
+BuildRequires: rust-packaging >= 23
%global _description %{expand:
An implementation of the Stateless OpenPGP Interface using Sequoia.}
@@ -37,7 +40,7 @@ Summary: %{summary}
# 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 MIT AND Unicode-DFS-2016
+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 (LGPL-3.0 OR GPL-2.0 OR GPL-3.0) AND (MIT OR Apache-2.0 OR Zlib) AND (Unlicense OR MIT)
# LICENSE.dependencies contains a full license breakdown
%description -n %{crate} %{_description}
@@ -48,6 +51,9 @@ License: GPL-2.0-or-later AND BSL-1.0 AND MIT AND Unicode-DFS-2016
%doc README.md
%{_bindir}/sqop
%{_mandir}/man1/sqop*
+%{bash_completions_dir}/sqop.bash
+%{fish_completions_dir}/sqop.fish
+%{zsh_completions_dir}/_sqop
%package devel
Summary: %{summary}
@@ -135,27 +141,51 @@ 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_no_tilde} -p1
%cargo_prep
%generate_buildrequires
+# ensure all dependencies are available for building tests
%cargo_generate_buildrequires -a
%build
-%cargo_build -a
-%cargo_license_summary -a
-%{cargo_license -a} > LICENSE.dependencies
+# build binary with the Nettle crypto backend and support for compression
+%cargo_build -f %{enabled_features}
+%cargo_license_summary -f %{enabled_features}
+%{cargo_license -f %{enabled_features}} > LICENSE.dependencies
%install
-%cargo_install -a
+%cargo_install -f %{enabled_features}
# install manual pages
mkdir -p %{buildroot}/%{_mandir}/man1
cp -pav man-sqop/* %{buildroot}/%{_mandir}/man1/
+# install shell completions
+install -Dpm 0644 target/release/build/%{crate}-*/out/sqop.bash \
+ %{buildroot}/%{bash_completions_dir}/sqop.bash
+install -Dpm 0644 target/release/build/%{crate}-*/out/sqop.fish \
+ %{buildroot}/%{fish_completions_dir}/sqop.fish
+install -Dpm 0644 target/release/build/%{crate}-*/out/_sqop \
+ %{buildroot}/%{zsh_completions_dir}/_sqop
%if %{with check}
%check
-%cargo_test -a
+# run tests with Nettle crypto backend (default)
+%cargo_test -n -f cli,compression,compression-bzip2,compression-deflate,crypto-nettle
+# run tests with OpenSSL crypto backend
+%cargo_test -n -f cli,compression,compression-bzip2,compression-deflate,crypto-openssl
%endif
%changelog
diff --git a/rust2rpm.conf b/rust2rpm.conf
deleted file mode 100644
index f626714..0000000
--- a/rust2rpm.conf
+++ /dev/null
@@ -1,2 +0,0 @@
-[DEFAULT]
-all-features = true
diff --git a/sequoia-sop-fix-metadata.diff b/sequoia-sop-fix-metadata.diff
index 9d2114e..c499ed3 100644
--- a/sequoia-sop-fix-metadata.diff
+++ b/sequoia-sop-fix-metadata.diff
@@ -1,5 +1,5 @@
---- sequoia-sop-0.27.3/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ sequoia-sop-0.27.3/Cargo.toml 2023-04-14T12:43:26.659313+00:00
+--- sequoia-sop-0.28.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ sequoia-sop-0.28.0/Cargo.toml 2023-05-08T15:55:52.632695+00:00
@@ -31,6 +31,7 @@
]
license = "GPL-2.0-or-later"
@@ -8,11 +8,12 @@
[lib]
-@@ -60,7 +61,6 @@
+@@ -60,8 +61,6 @@
compression = ["sequoia-openpgp/compression"]
compression-bzip2 = ["sequoia-openpgp/compression-bzip2"]
compression-deflate = ["sequoia-openpgp/compression-deflate"]
+-crypto-botan = ["sequoia-openpgp/crypto-botan"]
-crypto-cng = ["sequoia-openpgp/crypto-cng"]
crypto-nettle = ["sequoia-openpgp/crypto-nettle"]
+ crypto-openssl = ["sequoia-openpgp/crypto-openssl"]
default = ["sequoia-openpgp/default"]
-
diff --git a/sources b/sources
index 46e2393..e677e36 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (sequoia-sop-0.27.3.crate) = 04e3e4182e42d09fa02e672039954c34904c87a0444e8f20d419f4407e74c92adbfa9b262bbd8a9f2f681e54d6643276581d7371d4ed36239d91f2fb0243c607
+SHA512 (sequoia-sop-0.28.0.crate) = badbd73a79388be8f67c7f1f33981e9fb0d4b15df0c3ecdf0daec5d982f371b01d7512475dbef51fab4243996fe29cdb538dc8973c5f407ab789babf33bc0d41
reply other threads:[~2026-06-15 21:24 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=178155867020.1.2898147887677231877.rpms-rust-sequoia-sop-65063d1b44af@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