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-sq] rawhide: Update to version 1.5.0; Fixes RHBZ#2547361
Date: Mon, 12 Oct 2026 14:08:26 GMT	[thread overview]
Message-ID: <179181410643.1.12908810743024634157.rpms-rust-sequoia-sq-f65a0ffee2bc@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-sequoia-sq
Branch : rawhide
Commit : f65a0ffee2bcae588825cf80eeb248b051c690e1
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-10-12T16:06:59+02:00
Stats  : +95/-70 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-sequoia-sq/c/f65a0ffee2bcae588825cf80eeb248b051c690e1?branch=rawhide

Log:
Update to version 1.5.0; Fixes RHBZ#2547361

---
diff --git a/.gitignore b/.gitignore
index 1757fd6..458502f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,3 +19,4 @@
 /sequoia-sq-1.3.1.crate
 /sequoia-sq-1.4.0.crate
 /sequoia-sq-1.4.1.crate
+/sequoia-sq-1.5.0.crate

diff --git a/rust-sequoia-sq.spec b/rust-sequoia-sq.spec
index fe64995..a72cf6d 100644
--- a/rust-sequoia-sq.spec
+++ b/rust-sequoia-sq.spec
@@ -4,22 +4,21 @@
 %global crate sequoia-sq
 
 Name:           rust-sequoia-sq
-Version:        1.4.1
+Version:        1.5.0
 Release:        %autorelease
 Summary:        Command-line frontends for Sequoia
 
 License:        LGPL-2.0-or-later
 URL:            https://crates.io/crates/sequoia-sq
 Source:         %{crates_source}
+# Automatically generated patch to strip dependencies and normalize metadata
+Patch:          sequoia-sq-fix-metadata-auto.diff
 # Manually created patch for downstream crate metadata changes
 # * switch crypto backend from Nettle to OpenSSL
-# * exclude files that are only useful for upstream development
 # * drop automated generation of upstream integration tests
 # * drop features for unsupported crypto backends
-# * allow indicatif 0.18:
-#   https://gitlab.com/sequoia-pgp/sequoia-sq/-/merge_requests/582
-# * allow dirs 6: https://gitlab.com/sequoia-pgp/sequoia-sq/-/merge_requests/598
-# * bump sequoia-wot dependency from 0.14 to 0.15
+# * forward-port missing dependency updates from the v1.3.x branch:
+#   https://gitlab.com/sequoia-pgp/sequoia-sq/-/merge_requests/744
 Patch:          sequoia-sq-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24
@@ -122,11 +121,7 @@ install -Dpm 0644 target/assets/shell-completions/_sq \
 
 %if %{with check}
 %check
-# * skip two tests that fail due to semantics changes in sequoia-wot v0.15.3
-%{cargo_test -- -- --exact %{shrink:
-    --skip integration::sq_pki::target_cert_expired
-    --skip integration::sq_pki::target_cert_soft_revoked
-}}
+%cargo_test
 %endif
 
 %changelog

diff --git a/rust2rpm.toml b/rust2rpm.toml
index e6eb5eb..3b397e0 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,12 +1,12 @@
 [package]
 cargo-toml-patch-comments = [
     "switch crypto backend from Nettle to OpenSSL",
-    "exclude files that are only useful for upstream development",
     "drop automated generation of upstream integration tests",
     "drop features for unsupported crypto backends",
-    "allow indicatif 0.18: https://gitlab.com/sequoia-pgp/sequoia-sq/-/merge_requests/582",
-    "allow dirs 6: https://gitlab.com/sequoia-pgp/sequoia-sq/-/merge_requests/598",
-    "bump sequoia-wot dependency from 0.14 to 0.15",
+    """\
+    forward-port missing dependency updates from the v1.3.x branch:
+    https://gitlab.com/sequoia-pgp/sequoia-sq/-/merge_requests/744
+    """,
 ]
 extra-files = [
     "%{_mandir}/man1/sq*",
@@ -40,13 +40,3 @@ install.post = [
     "    %{buildroot}/%{zsh_completions_dir}/_sq",
 ]
 
-[tests]
-skip = [
-    "integration::sq_pki::target_cert_expired",
-    "integration::sq_pki::target_cert_soft_revoked",
-]
-skip-exact = true
-comments = [
-    "skip two tests that fail due to semantics changes in sequoia-wot v0.15.3",
-]
-

diff --git a/sequoia-sq-fix-metadata-auto.diff b/sequoia-sq-fix-metadata-auto.diff
new file mode 100644
index 0000000..fd9413d
--- /dev/null
+++ b/sequoia-sq-fix-metadata-auto.diff
@@ -0,0 +1,22 @@
+--- sequoia-sq-1.5.0/Cargo.toml	1970-01-01T00:00:01+00:00
++++ sequoia-sq-1.5.0/Cargo.toml	2026-10-12T13:38:59.586517+00:00
+@@ -282,14 +282,6 @@
+ ]
+ default-features = false
+ 
+-[target."cfg(windows)".dev-dependencies.sequoia-openpgp]
+-version = "2"
+-features = [
+-    "crypto-cng",
+-    "__implicit-crypto-backend-for-tests",
+-]
+-default-features = false
+-
+ [lints.clippy.complexity]
+ level = "allow"
+ priority = -1
+@@ -301,3 +293,4 @@
+ [lints.clippy.suspicious]
+ level = "deny"
+ priority = -1
++

diff --git a/sequoia-sq-fix-metadata.diff b/sequoia-sq-fix-metadata.diff
index b6162cc..7863603 100644
--- a/sequoia-sq-fix-metadata.diff
+++ b/sequoia-sq-fix-metadata.diff
@@ -1,82 +1,99 @@
---- sequoia-sq-1.4.1/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ sequoia-sq-1.4.1/Cargo.toml	2026-09-14T16:12:00.550531+00:00
-@@ -49,6 +49,12 @@
- ]
- license = "LGPL-2.0-or-later"
- repository = "https://gitlab.com/sequoia-pgp/sequoia-sq"
-+exclude = [
-+    "/deny.toml",
-+    "/Dockerfile",
-+    "/sq.subplot",
-+    "/sq-subplot.md",
-+]
- 
- [badges.gitlab]
- repository = "sequoia-pgp/sequoia-sq"
-@@ -57,20 +63,9 @@
+--- sequoia-sq-1.5.0/Cargo.toml	1970-01-01T00:00:01+00:00
++++ sequoia-sq-1.5.0/Cargo.toml	2026-10-12T13:39:33.911871+00:00
+@@ -62,20 +62,9 @@
  status = "actively-developed"
  
  [features]
--allow-experimental-crypto = ["sequoia-openpgp/allow-experimental-crypto"]
--allow-variable-time-crypto = ["sequoia-openpgp/allow-variable-time-crypto"]
--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"]
--crypto-rust = ["sequoia-openpgp/crypto-rust"]
--default = ["crypto-nettle"]
+-allow-experimental-crypto = ["sqz/allow-experimental-crypto"]
+-allow-variable-time-crypto = ["sqz/allow-variable-time-crypto"]
+-crypto-botan = ["sqz/crypto-botan"]
+-crypto-botan2 = ["sqz/crypto-botan2"]
+-crypto-cng = ["sqz/crypto-cng"]
+ crypto-nettle = ["sqz/crypto-nettle"]
+ crypto-openssl = ["sqz/crypto-openssl"]
+-crypto-rust = ["sqz/crypto-rust"]
+-default = ["sqz/default"]
 -subplot = [
 -    "culpa",
 -    "subplot-build",
 -    "subplotlib",
 -]
-+default = ["crypto-openssl"]
++default = ["sqz/crypto-openssl"]
  
  [[bin]]
  name = "sq"
-@@ -80,11 +75,6 @@
- [[test]]
+@@ -86,11 +75,6 @@
  name = "integration"
  path = "tests/integration.rs"
--
+ 
 -[[test]]
 -name = "sq-subplot"
 -path = "tests/sq-subplot.rs"
 -required-features = ["subplot"]
- 
+-
  [dependencies.aho-corasick]
  version = "1"
-@@ -113,10 +103,6 @@
- version = ">=0.7, <2"
- default-features = false
  
+@@ -110,12 +94,8 @@
+ ]
+ 
+ [dependencies.clap_lex]
+-version = "0.7"
+-default-features = false
+-
 -[dependencies.culpa]
 -version = "1"
 -optional = true
--
++version = ">=0.7, <2"
++default-features = false
+ 
  [dependencies.dirs]
  version = ">=5, <7"
- 
-@@ -197,10 +183,6 @@
- [dependencies.serde]
- version = "1.0.137"
- features = ["derive"]
+@@ -167,10 +147,6 @@
+     "net",
+ ]
+ default-features = false
 -
 -[dependencies.subplotlib]
--version = ">=0.11, <0.14"
+-version = ">=0.11, <0.13"
 -optional = true
  
  [dependencies.tempfile]
  version = "3.1"
-@@ -303,10 +285,6 @@
- version = "1.0.137"
- features = ["derive"]
+@@ -232,14 +208,14 @@
+ version = "4"
+ 
+ [build-dependencies.clap_lex]
+-version = "0.7"
++version = ">=0.7, <2"
+ default-features = false
+ 
+ [build-dependencies.dirs]
+ version = ">=5, <7"
+ 
+ [build-dependencies.roff]
+-version = "0.2.1"
++version = ">=0.2.1, <2"
+ 
+ [build-dependencies.sequoia-man]
+ version = "0.3"
+@@ -261,10 +237,6 @@
+ features = ["clap"]
+ default-features = false
  
 -[build-dependencies.subplot-build]
--version = ">=0.11, <0.14"
+-version = ">=0.11, <0.13"
 -optional = true
 -
  [build-dependencies.terminal_size]
  version = ">=0.2.6, <0.5"
  
+@@ -277,7 +249,7 @@
+ [target."cfg(not(windows))".dev-dependencies.sequoia-openpgp]
+ version = "2"
+ features = [
+-    "crypto-nettle",
++    "crypto-openssl",
+     "__implicit-crypto-backend-for-tests",
+ ]
+ default-features = false

diff --git a/sources b/sources
index 64cd5ce..0c44358 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (sequoia-sq-1.4.1.crate) = eda0f400d74e711570dcec740e8fb9302b9d8e02c4a6e3b34eb51f8c96455bcb7c4e2e86386d83e9729695a23da4d05c8a0c9084c2c8004293072fb1d8e7acb9
+SHA512 (sequoia-sq-1.5.0.crate) = 90659cdac8ad06f5504dca496049c12d02500bca5c5b9cf88eb7ccd85198289f0df99822eabca211df04e3e465375c1330ab9f43662c7c593ba1a656ba7e8701

                 reply	other threads:[~2026-10-12 14:08 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=179181410643.1.12908810743024634157.rpms-rust-sequoia-sq-f65a0ffee2bc@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