public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-sequoia-sop] epel9: Update to version 0.32.0; Fixes RHBZ#2270428
@ 2026-06-15 21:24 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-06-15 21:24 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-sequoia-sop
Branch : epel9
Commit : a0ce23fb073666d3cabdb21ba4e98ace20fff7b6
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2024-03-20T16:26:40+01:00
Stats : +38/-90 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rust-sequoia-sop/c/a0ce23fb073666d3cabdb21ba4e98ace20fff7b6?branch=epel9
Log:
Update to version 0.32.0; Fixes RHBZ#2270428
---
diff --git a/.gitignore b/.gitignore
index 79939cc..916d7fb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
/sequoia-sop-0.27.3.crate
/sequoia-sop-0.28.0.crate
/sequoia-sop-0.31.0.crate
+/sequoia-sop-0.32.0.crate
diff --git a/rust-sequoia-sop.spec b/rust-sequoia-sop.spec
index dc2f7ce..50d3877 100644
--- a/rust-sequoia-sop.spec
+++ b/rust-sequoia-sop.spec
@@ -1,12 +1,10 @@
-# Generated by rust2rpm 25
+# Generated by rust2rpm 26
%bcond_without check
%global crate sequoia-sop
-%global enabled_features cli,compression,compression-bzip2,compression-deflate,crypto-nettle
-
Name: rust-sequoia-sop
-Version: 0.31.0
+Version: 0.32.0
Release: %autorelease
Summary: Implementation of the Stateless OpenPGP Interface using Sequoia
@@ -15,7 +13,6 @@ 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: cargo-rpm-macros >= 24
@@ -94,82 +91,20 @@ use the "cli" feature of the "%{crate}" crate.
%files -n %{name}+cli-devel
%ghost %{crate_instdir}/Cargo.toml
-%package -n %{name}+compression-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+compression-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "compression" feature of the "%{crate}" crate.
-
-%files -n %{name}+compression-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package -n %{name}+compression-bzip2-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+compression-bzip2-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "compression-bzip2" feature of the "%{crate}" crate.
-
-%files -n %{name}+compression-bzip2-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package -n %{name}+compression-deflate-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+compression-deflate-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "compression-deflate" feature of the "%{crate}" crate.
-
-%files -n %{name}+compression-deflate-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
%generate_buildrequires
-# ensure all dependencies are available for building tests
-%cargo_generate_buildrequires -a
+%cargo_generate_buildrequires -f cli
%build
-# 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
+%cargo_build -f cli
+%{cargo_license_summary -f cli}
+%{cargo_license -f cli} > LICENSE.dependencies
%install
-%cargo_install -f %{enabled_features}
+%cargo_install -f cli
# install manual pages
mkdir -p %{buildroot}/%{_mandir}/man1
cp -pav man-sqop/* %{buildroot}/%{_mandir}/man1/
@@ -183,10 +118,7 @@ install -Dpm 0644 target/release/build/%{crate}-*/out/_sqop \
%if %{with check}
%check
-# 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
+%cargo_test -f cli
%endif
%changelog
diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..7f71723
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,25 @@
+[package]
+cargo-toml-patch-comments = [
+ "exclude files that are only useful for upstream development",
+]
+extra-files = [
+ "%{_mandir}/man1/sqop*",
+ "%{bash_completions_dir}/sqop.bash",
+ "%{fish_completions_dir}/sqop.fish",
+ "%{zsh_completions_dir}/_sqop",
+]
+
+[scripts]
+install.post = [
+ "# 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",
+]
+
diff --git a/sequoia-sop-fix-metadata.diff b/sequoia-sop-fix-metadata.diff
index 0cbb21a..7ef40fd 100644
--- a/sequoia-sop-fix-metadata.diff
+++ b/sequoia-sop-fix-metadata.diff
@@ -1,20 +1,10 @@
---- sequoia-sop-0.31.0/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ sequoia-sop-0.31.0/Cargo.toml 2023-12-14T09:57:17.934657+00:00
+--- 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
@@ -31,6 +31,7 @@
]
license = "GPL-2.0-or-later"
repository = "https://gitlab.com/sequoia-pgp/sequoia-sop"
-+exclude = ["man-sqop", "rust-toolchain"]
++exclude = ["/man-sqop/"]
[lib]
-@@ -57,9 +58,6 @@
- compression = ["sequoia-openpgp/compression"]
- compression-bzip2 = ["sequoia-openpgp/compression-bzip2"]
- compression-deflate = ["sequoia-openpgp/compression-deflate"]
--crypto-botan = ["sequoia-openpgp/crypto-botan"]
--crypto-botan2 = ["sequoia-openpgp/crypto-botan2"]
--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 79a90c0..34446a0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (sequoia-sop-0.31.0.crate) = 950ddb8c9738e8b0a3016463ac2b2d4c9e5a7308ab1a4c40dd76d51e07783fb7d47f961420a6dae703b431c4b3a94ee985a71186b6c2ffc37ac7457cac4d3061
+SHA512 (sequoia-sop-0.32.0.crate) = 167ae75d0e40d6e3d5c25b7953a25c6e31d1d2444fb299ef3922f63dcfdcd043f3be7d63728cd14a5c78c3a9602df68d7a246e427b35806cdc647ee519a488fe
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-15 21:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-15 21:24 [rpms/rust-sequoia-sop] epel9: Update to version 0.32.0; Fixes RHBZ#2270428 Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox