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-sqv] epel9: Update to version 1.2.1; Fixes RHBZ#2275941
Date: Mon, 12 Oct 2026 15:22:51 GMT	[thread overview]
Message-ID: <179181857189.1.2961095133126161383.rpms-rust-sequoia-sqv-9f2fc016f450@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-sequoia-sqv
Branch : epel9
Commit : 9f2fc016f450b5ab52ec344c2ef45576188c2e87
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2024-04-19T14:53:00+02:00
Stats  : +70/-20 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-sequoia-sqv/c/9f2fc016f450b5ab52ec344c2ef45576188c2e87?branch=epel9

Log:
Update to version 1.2.1; Fixes RHBZ#2275941

---
diff --git a/.gitignore b/.gitignore
index 52b12e4..1af729f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,5 @@
 
 /sequoia-sqv-1.0.0.crate
 /sequoia-sqv-1.1.0.crate
+/sequoia-sqv-1.2.0.crate
+/sequoia-sqv-1.2.1.crate

diff --git a/rust-sequoia-sqv.spec b/rust-sequoia-sqv.spec
index cb3f741..be37c92 100644
--- a/rust-sequoia-sqv.spec
+++ b/rust-sequoia-sqv.spec
@@ -1,10 +1,10 @@
-# Generated by rust2rpm 24
+# Generated by rust2rpm 26
 %bcond_without check
 
 %global crate sequoia-sqv
 
 Name:           rust-sequoia-sqv
-Version:        1.1.0
+Version:        1.2.1
 Release:        %autorelease
 Summary:        Simple OpenPGP signature verification program
 
@@ -12,10 +12,12 @@ License:        GPL-2.0-or-later
 URL:            https://crates.io/crates/sequoia-sqv
 Source:         %{crates_source}
 # 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 features for unsupported crypto backends
 Patch:          sequoia-sqv-fix-metadata.diff
 
-BuildRequires:  rust-packaging >= 23
+BuildRequires:  cargo-rpm-macros >= 24
 
 %global _description %{expand:
 A simple OpenPGP signature verification program.}
@@ -25,17 +27,18 @@ A simple OpenPGP signature verification program.}
 %package     -n %{crate}
 Summary:        %{summary}
 # (MIT OR Apache-2.0) AND Unicode-DFS-2016
+# Apache-2.0
 # Apache-2.0 OR MIT
+# Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
 # BSL-1.0
 # GPL-2.0-or-later
 # LGPL-2.0-or-later
-# LGPL-3.0 OR GPL-2.0 OR GPL-3.0
 # MIT
 # MIT OR Apache-2.0
 # MIT OR Apache-2.0 OR Zlib
 # Unlicense OR MIT
 # Zlib OR Apache-2.0 OR MIT
-License:        BSL-1.0 AND GPL-2.0-or-later AND LGPL-2.0-or-later AND MIT AND Unicode-DFS-2016 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:        GPL-2.0-or-later AND Apache-2.0 AND BSL-1.0 AND LGPL-2.0-or-later AND MIT AND Unicode-DFS-2016 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 (Unlicense OR MIT)
 # LICENSE.dependencies contains a full license breakdown
 
 %description -n %{crate} %{_description}
@@ -45,11 +48,13 @@ License:        BSL-1.0 AND GPL-2.0-or-later AND LGPL-2.0-or-later AND MIT AND U
 %license LICENSE.dependencies
 %doc README.md
 %{_bindir}/sqv
+%{_mandir}/man1/sqv*
+%{bash_completions_dir}/sqv.bash
+%{fish_completions_dir}/sqv.fish
+%{zsh_completions_dir}/_sqv
 
 %prep
-%autosetup -n %{crate}-%{version_no_tilde} -p1
-# remove integration tests (assert-cli is broken during RPM builds)
-rm -r tests
+%autosetup -n %{crate}-%{version} -p1
 %cargo_prep
 
 %generate_buildrequires
@@ -62,6 +67,16 @@ rm -r tests
 
 %install
 %cargo_install
+# install manual pages
+mkdir -p %{buildroot}/%{_mandir}/man1
+cp -pav target/release/build/%{crate}-*/out/man-pages/sqv*.1 %{buildroot}/%{_mandir}/man1/
+# install shell completions
+install -Dpm 0644 target/release/build/%{crate}-*/out/shell-completions/sqv.bash \
+    %{buildroot}/%{bash_completions_dir}/sqv.bash
+install -Dpm 0644 target/release/build/%{crate}-*/out/shell-completions/sqv.fish \
+    %{buildroot}/%{fish_completions_dir}/sqv.fish
+install -Dpm 0644 target/release/build/%{crate}-*/out/shell-completions/_sqv \
+    %{buildroot}/%{zsh_completions_dir}/_sqv
 
 %if %{with check}
 %check

diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..a44c865
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,27 @@
+[package]
+cargo-toml-patch-comments = [
+    "switch crypto backend from Nettle to OpenSSL",
+    "exclude files that are only useful for upstream development",
+    "drop features for unsupported crypto backends",
+]
+extra-files = [
+    "%{_mandir}/man1/sqv*",
+    "%{bash_completions_dir}/sqv.bash",
+    "%{fish_completions_dir}/sqv.fish",
+    "%{zsh_completions_dir}/_sqv",
+]
+
+[scripts]
+install.post = [
+    "# install manual pages",
+    "mkdir -p %{buildroot}/%{_mandir}/man1",
+    "cp -pav target/release/build/%{crate}-*/out/man-pages/sqv*.1 %{buildroot}/%{_mandir}/man1/",
+    "# install shell completions",
+    "install -Dpm 0644 target/release/build/%{crate}-*/out/shell-completions/sqv.bash \\",
+    "    %{buildroot}/%{bash_completions_dir}/sqv.bash",
+    "install -Dpm 0644 target/release/build/%{crate}-*/out/shell-completions/sqv.fish \\",
+    "    %{buildroot}/%{fish_completions_dir}/sqv.fish",
+    "install -Dpm 0644 target/release/build/%{crate}-*/out/shell-completions/_sqv \\",
+    "    %{buildroot}/%{zsh_completions_dir}/_sqv",
+]
+

diff --git a/sequoia-sqv-fix-metadata.diff b/sequoia-sqv-fix-metadata.diff
index 98439fd..d0eb612 100644
--- a/sequoia-sqv-fix-metadata.diff
+++ b/sequoia-sqv-fix-metadata.diff
@@ -1,11 +1,17 @@
---- sequoia-sqv-1.1.0/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ sequoia-sqv-1.1.0/Cargo.toml	2023-08-07T14:20:13.647143+00:00
-@@ -14,7 +14,7 @@
- name = "sequoia-sqv"
- version = "1.1.0"
- authors = ["Justus Winter <justus@sequoia-pgp.org>", "Kai Michaelis <kai@sequoia-pgp.org>", "Neal H. Walfield <neal@sequoia-pgp.org>"]
--exclude = [".ci", ".gitlab-ci.yml"]
-+exclude = [".ci", ".gitlab-ci.yml", "Makefile", "make-usage.sh"]
- description = "A simple OpenPGP signature verification program"
- homepage = "https://sequoia-pgp.org/"
- documentation = "https://docs.sequoia-pgp.org/sqv"
+--- sequoia-sqv-1.2.1/Cargo.toml	1970-01-01T00:00:01+00:00
++++ sequoia-sqv-1.2.1/Cargo.toml	2024-04-19T12:33:50.962487+00:00
+@@ -98,13 +98,9 @@
+ version = "0.6"
+ 
+ [features]
+-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"]
++default = ["crypto-openssl"]
+ 
+ [badges.gitlab]
+ repository = "sequoia-pgp/sequoia"

diff --git a/sources b/sources
index f279c65..12335d4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (sequoia-sqv-1.1.0.crate) = cc8670ab1aae4893675f94b07bca8231531898bcbbd7da435d0f82a80be2900782916acb5b7f26faaaf9d417093a33fb0aceb796b1cddf4ed6bf1afcf2973af7
+SHA512 (sequoia-sqv-1.2.1.crate) = 9e784b64b8c2b84b6e89abfecd49083b8cc37809a4879ec0fa4201e79b31cbf06562c07773b0b6ebc31990034c70172f2dc59ba4b0c3af1e8bdc23e9dec29cd8

                 reply	other threads:[~2026-10-12 15:22 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=179181857189.1.2961095133126161383.rpms-rust-sequoia-sqv-9f2fc016f450@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