public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-sequoia-wot] epel10: Update to version 0.13.2; Fixes RHBZ#2321775
@ 2026-06-15 12:50 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-06-15 12:50 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-sequoia-wot
Branch : epel10
Commit : 48ceb042fcc0d4757fb1ce0327b3e67a3cf556ac
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2024-11-27T11:24:07+01:00
Stats  : +14/-213 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-sequoia-wot/c/48ceb042fcc0d4757fb1ce0327b3e67a3cf556ac?branch=epel10

Log:
Update to version 0.13.2; Fixes RHBZ#2321775

---
diff --git a/.gitignore b/.gitignore
index d16bd32..2ad8e31 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 /sequoia-wot-0.9.0.crate
 /sequoia-wot-0.11.0.crate
 /sequoia-wot-0.12.0.crate
+/sequoia-wot-0.13.2.crate

diff --git a/rust-sequoia-wot.spec b/rust-sequoia-wot.spec
index 6fc7d1b..1304e10 100644
--- a/rust-sequoia-wot.spec
+++ b/rust-sequoia-wot.spec
@@ -1,10 +1,11 @@
-# Generated by rust2rpm 26
-%bcond_without check
+# Generated by rust2rpm 27
+%bcond check 1
+%global debug_package %{nil}
 
 %global crate sequoia-wot
 
 Name:           rust-sequoia-wot
-Version:        0.12.0
+Version:        0.13.2
 Release:        %autorelease
 Summary:        Implementation of OpenPGP's web of trust
 
@@ -13,10 +14,6 @@ URL:            https://crates.io/crates/sequoia-wot
 Source:         %{crates_source}
 # Automatically generated patch to strip dependencies and normalize metadata
 Patch:          sequoia-wot-fix-metadata-auto.diff
-# Manually created patch for downstream crate metadata changes
-# * expose features for crypto backends without setting a default
-# * drop support for writing graphs in DOT format
-Patch:          sequoia-wot-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24
 
@@ -25,40 +22,6 @@ An implementation of OpenPGP's web of trust.}
 
 %description %{_description}
 
-%package     -n %{crate}
-Summary:        %{summary}
-# (Apache-2.0 OR MIT) AND BSD-3-Clause
-# (MIT OR Apache-2.0) AND Unicode-DFS-2016
-# Apache-2.0
-# Apache-2.0 OR BSL-1.0
-# Apache-2.0 OR ISC OR MIT
-# Apache-2.0 OR MIT
-# Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
-# BSD-2-Clause OR Apache-2.0 OR MIT
-# BSL-1.0
-# LGPL-2.0-or-later
-# MIT
-# MIT OR Apache-2.0
-# MIT OR Apache-2.0 OR Zlib
-# MPL-2.0
-# Unlicense OR MIT
-# Zlib OR Apache-2.0 OR MIT
-License:        LGPL-2.0-or-later AND Apache-2.0 AND BSD-3-Clause AND BSL-1.0 AND MIT AND MPL-2.0 AND Unicode-DFS-2016 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause 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}
-
-%files       -n %{crate}
-%license LICENSE.txt
-%license LICENSE.dependencies
-%doc CONTRIBUTING.md
-%doc README.md
-%{_bindir}/sq-wot
-%{_mandir}/man1/sq-wot*
-%{bash_completions_dir}/sq-wot.bash
-%{fish_completions_dir}/sq-wot.fish
-%{zsh_completions_dir}/_sq-wot
-
 %package        devel
 Summary:        %{summary}
 BuildArch:      noarch
@@ -70,7 +33,6 @@ use the "%{crate}" crate.
 
 %files          devel
 %license %{crate_instdir}/LICENSE.txt
-%doc %{crate_instdir}/CONTRIBUTING.md
 %doc %{crate_instdir}/README.md
 %{crate_instdir}/
 
@@ -86,121 +48,23 @@ use the "default" feature of the "%{crate}" crate.
 %files       -n %{name}+default-devel
 %ghost %{crate_instdir}/Cargo.toml
 
-%package     -n %{name}+clap-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+clap-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "clap" feature of the "%{crate}" crate.
-
-%files       -n %{name}+clap-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+clap_complete-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+clap_complete-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "clap_complete" feature of the "%{crate}" crate.
-
-%files       -n %{name}+clap_complete-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+clap_mangen-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+clap_mangen-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "clap_mangen" feature of the "%{crate}" crate.
-
-%files       -n %{name}+clap_mangen-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+cli-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+cli-devel %{_description}
-
-This package contains library source intended for building other packages which
-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
-
-%package     -n %{name}+crypto-rust-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+crypto-rust-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "crypto-rust" feature of the "%{crate}" crate.
-
-%files       -n %{name}+crypto-rust-devel
-%ghost %{crate_instdir}/Cargo.toml
-
 %prep
 %autosetup -n %{crate}-%{version} -p1
 %cargo_prep
-# drop tests that use the disabled DOT output format
-rm tests/tests.rs
 
 %generate_buildrequires
-%cargo_generate_buildrequires -f crypto-openssl
+%cargo_generate_buildrequires
 
 %build
-%cargo_build -f crypto-openssl
-%{cargo_license_summary -f crypto-openssl}
-%{cargo_license -f crypto-openssl} > LICENSE.dependencies
+# build with the default crypto backend (Nettle)
+%cargo_build -f sequoia-openpgp/crypto-nettle
 
 %install
-%cargo_install -f crypto-openssl
-# install manual pages
-mkdir -p %{buildroot}/%{_mandir}/man1
-cp -pav target/release/build/%{crate}-*/out/sq-wot*.1 %{buildroot}/%{_mandir}/man1/
-# install shell completions
-install -Dpm 0644 target/release/build/%{crate}-*/out/sq-wot.bash \
-    %{buildroot}/%{bash_completions_dir}/sq-wot.bash
-install -Dpm 0644 target/release/build/%{crate}-*/out/sq-wot.fish \
-    %{buildroot}/%{fish_completions_dir}/sq-wot.fish
-install -Dpm 0644 target/release/build/%{crate}-*/out/_sq-wot \
-    %{buildroot}/%{zsh_completions_dir}/_sq-wot
+%cargo_install
 
 %if %{with check}
 %check
-# * skip test that requires a file which is not included in published crates
-%cargo_test -f crypto-openssl -- -- --skip gpg_trust_roots
+%cargo_test
 %endif
 
 %changelog

diff --git a/rust2rpm.toml b/rust2rpm.toml
deleted file mode 100644
index dea5b82..0000000
--- a/rust2rpm.toml
+++ /dev/null
@@ -1,30 +0,0 @@
-[package]
-cargo-toml-patch-comments = [
-    "expose features for crypto backends without setting a default",
-    "drop support for writing graphs in DOT format",
-]
-extra-files = [
-    "%{_mandir}/man1/sq-wot*",
-    "%{bash_completions_dir}/sq-wot.bash",
-    "%{fish_completions_dir}/sq-wot.fish",
-    "%{zsh_completions_dir}/_sq-wot",
-]
-
-[scripts]
-prep.post = [
-    "# drop tests that use the disabled DOT output format",
-    "rm tests/tests.rs",
-]
-install.post = [
-    "# install manual pages",
-    "mkdir -p %{buildroot}/%{_mandir}/man1",
-    "cp -pav target/release/build/%{crate}-*/out/sq-wot*.1 %{buildroot}/%{_mandir}/man1/",
-    "# install shell completions",
-    "install -Dpm 0644 target/release/build/%{crate}-*/out/sq-wot.bash \\",
-    "    %{buildroot}/%{bash_completions_dir}/sq-wot.bash",
-    "install -Dpm 0644 target/release/build/%{crate}-*/out/sq-wot.fish \\",
-    "    %{buildroot}/%{fish_completions_dir}/sq-wot.fish",
-    "install -Dpm 0644 target/release/build/%{crate}-*/out/_sq-wot \\",
-    "    %{buildroot}/%{zsh_completions_dir}/_sq-wot",
-]
-

diff --git a/sequoia-wot-fix-metadata-auto.diff b/sequoia-wot-fix-metadata-auto.diff
index 8ed5f16..17eb2b2 100644
--- a/sequoia-wot-fix-metadata-auto.diff
+++ b/sequoia-wot-fix-metadata-auto.diff
@@ -1,6 +1,6 @@
---- sequoia-wot-0.12.0/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ sequoia-wot-0.12.0/Cargo.toml	2024-06-15T16:20:26.112200+00:00
-@@ -137,13 +137,6 @@
+--- sequoia-wot-0.13.2/Cargo.toml	1970-01-01T00:00:01+00:00
++++ sequoia-wot-0.13.2/Cargo.toml	2024-11-27T10:18:58.714840+00:00
+@@ -76,13 +76,6 @@
  ]
  default-features = false
  

diff --git a/sequoia-wot-fix-metadata.diff b/sequoia-wot-fix-metadata.diff
deleted file mode 100644
index 1a3530b..0000000
--- a/sequoia-wot-fix-metadata.diff
+++ /dev/null
@@ -1,34 +0,0 @@
---- sequoia-wot-0.12.0/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ sequoia-wot-0.12.0/Cargo.toml	2024-06-15T16:21:29.178468+00:00
-@@ -63,10 +63,6 @@
- [dependencies.crossbeam]
- version = "0.8.1"
- 
--[dependencies.dot-writer]
--version = "0.1.3"
--optional = true
--
- [dependencies.enumber]
- version = "0.3"
- 
-@@ -124,17 +120,15 @@
-     "clap_complete",
-     "clap_mangen",
- ]
-+crypto-nettle = ["sequoia-openpgp/crypto-nettle"]
-+crypto-openssl = ["sequoia-openpgp/crypto-openssl"]
-+crypto-rust = ["sequoia-openpgp/crypto-rust"]
- default = [
-     "cli",
--    "dot-writer",
- ]
- 
- [target."cfg(not(windows))".dev-dependencies.sequoia-openpgp]
- version = "1"
--features = [
--    "crypto-nettle",
--    "__implicit-crypto-backend-for-tests",
--]
- default-features = false
- 
- [badges.maintenance]

diff --git a/sources b/sources
index 43d54cd..5f6dd42 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (sequoia-wot-0.12.0.crate) = fb4e99e620cd03549d5b39f9fa4b0054f27ec820b911341fce93f1e2ba02d84b4e949b98c9ce6973c6cf916dc485ed467752f688d4f396ef0bf9c3900583c10a
+SHA512 (sequoia-wot-0.13.2.crate) = c606e8f07fc239d0f6042873f460c05540b25faacd04a1284fdcb77e88d030c52f3be4bc00bcc572c24d63a6ab2cf6f84cc2b82572afbdb1be7262cf66f0a7ea

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-15 12:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-15 12:50 [rpms/rust-sequoia-wot] epel10: Update to version 0.13.2; Fixes RHBZ#2321775 Fabio Valentini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox