public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-sequoia-sq] eln: Update to version 1.5.0
@ 2026-10-12 15:41 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-10-12 15:41 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-sequoia-sq
Branch : eln
Commit : f1edbe610478919db479b70a3cf4666c322dbdf7
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-10-12T17:38:35+02:00
Stats  : +99/-52 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-sequoia-sq/c/f1edbe610478919db479b70a3cf4666c322dbdf7?branch=eln

Log:
Update to version 1.5.0

---
diff --git a/.gitignore b/.gitignore
index 923e6d5..91c522c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -30,3 +30,5 @@
 /sequoia-sq-1.4.0-vendor.tar.xz
 /sequoia-sq-1.4.1.crate
 /sequoia-sq-1.4.1-vendor.tar.xz
+/sequoia-sq-1.5.0.crate
+/sequoia-sq-1.5.0-vendor.tar.xz

diff --git a/rust-sequoia-sq.spec b/rust-sequoia-sq.spec
index adbb670..c18a02d 100644
--- a/rust-sequoia-sq.spec
+++ b/rust-sequoia-sq.spec
@@ -4,7 +4,7 @@
 %global crate sequoia-sq
 
 Name:           rust-sequoia-sq
-Version:        1.4.1
+Version:        1.5.0
 Release:        %autorelease
 Summary:        Command-line frontends for Sequoia
 
@@ -16,11 +16,14 @@ Source:         %{crates_source}
 Source1:        %{crate}-%{version}-vendor.tar.xz
 Source2:        vendor.sh
 
+# 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
+# * 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:  rust-toolset
@@ -53,7 +56,6 @@ Summary:        %{summary}
 # LGPL-2.0-or-later
 # MIT
 # MIT OR Apache-2.0
-# MIT OR Apache-2.0 OR Zlib
 # MIT OR Zlib OR Apache-2.0
 # MPL-2.0
 # Unicode-3.0
@@ -74,7 +76,7 @@ License:        %{shrink:
     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 (MIT OR Apache-2.0 OR Zlib)
+    AND (MIT OR Zlib OR Apache-2.0)
     AND (Unlicense OR MIT)
 }
 # LICENSE.dependencies contains a full license breakdown
@@ -106,7 +108,7 @@ export ASSET_OUT_DIR=target/assets
 %cargo_build
 %{cargo_license_summary}
 %{cargo_license} > LICENSE.dependencies
-%cargo_vendor_manifest
+%{cargo_vendor_manifest}
 
 %install
 %cargo_install

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 5647e95..04c6790 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,9 +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",
+    """\
+    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*",
@@ -17,6 +20,7 @@ doc-files.exclude = [
 
 [scripts]
 prep.post = [
+    "rm -v Cargo.lock",
     "# drop broken integration tests",
     "rm -vr subplot/",
     "rm -v tests/sq-subplot.rs",

diff --git a/sequoia-sq-fix-metadata-auto.diff b/sequoia-sq-fix-metadata-auto.diff
new file mode 100644
index 0000000..0d2830f
--- /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-12T15:22:37.216637+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..09ecaf5 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-12T15:22:37.217953+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 e3560b2..b10dcbc 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (sequoia-sq-1.4.1.crate) = eda0f400d74e711570dcec740e8fb9302b9d8e02c4a6e3b34eb51f8c96455bcb7c4e2e86386d83e9729695a23da4d05c8a0c9084c2c8004293072fb1d8e7acb9
-SHA512 (sequoia-sq-1.4.1-vendor.tar.xz) = 462dab41a81d1ab4cc18f8870b9406c3da8e6a65cd116b2587cc0b803c718d342c4a0ffbcc4fda86354472cc114d2664f85fdb76c393468a3963b75ff8eef8e8
+SHA512 (sequoia-sq-1.5.0.crate) = 90659cdac8ad06f5504dca496049c12d02500bca5c5b9cf88eb7ccd85198289f0df99822eabca211df04e3e465375c1330ab9f43662c7c593ba1a656ba7e8701
+SHA512 (sequoia-sq-1.5.0-vendor.tar.xz) = 986494d9c08465bc870d563ac76906dbf4b174074aa38ca12c6a71ef1a1cee99b601b0b4649c94a1513844a81faa8a8f16303093fc9e425cfcfdb9e2e5f6241c

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-12 15:41 [rpms/rust-sequoia-sq] eln: Update to version 1.5.0 Fabio Valentini

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