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-wot] epel10: Initial import (#2186839)
Date: Mon, 15 Jun 2026 12:50:11 GMT [thread overview]
Message-ID: <178152781169.1.388065780404410341.rpms-rust-sequoia-wot-f71527c66460@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-sequoia-wot
Branch : epel10
Commit : f71527c66460ac6edf60a9eff5a30434e2d7fabb
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2023-05-06T19:11:10+02:00
Stats : +194/-3 in 6 file(s)
URL : https://src.fedoraproject.org/rpms/rust-sequoia-wot/c/f71527c66460ac6edf60a9eff5a30434e2d7fabb?branch=epel10
Log:
Initial import (#2186839)
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..804fe23
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/sequoia-wot-0.5.0.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index 5581844..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-sequoia-wot
-
-The rust-sequoia-wot package
diff --git a/rust-sequoia-wot.spec b/rust-sequoia-wot.spec
new file mode 100644
index 0000000..4645d92
--- /dev/null
+++ b/rust-sequoia-wot.spec
@@ -0,0 +1,145 @@
+# Generated by rust2rpm 24
+%bcond_without check
+
+%global crate sequoia-wot
+
+Name: rust-sequoia-wot
+Version: 0.5.0
+Release: %autorelease
+Summary: Implementation of OpenPGP's web of trust
+
+License: LGPL-2.0-or-later
+URL: https://crates.io/crates/sequoia-wot
+Source: %{crates_source}
+# Automatically generated patch to strip foreign dependencies
+Patch: sequoia-wot-fix-metadata-auto.diff
+# Manually created patch for downstream crate metadata changes
+# * bump sequoia-net dependency from 0.26 to 0.27
+# * bump sequoia-policy-config dependency from 0.5 to 0.6
+# * expose features for crypto backends without setting a default
+Patch: sequoia-wot-fix-metadata.diff
+
+BuildRequires: rust-packaging >= 23
+
+%global _description %{expand:
+An implementation of OpenPGP's web of trust.}
+
+%description %{_description}
+
+%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
+# LGPL-2.0-or-later
+# LGPL-3.0 OR GPL-2.0 OR GPL-3.0
+# LGPL-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: LGPL-2.0-or-later AND Apache-2.0 AND BSL-1.0 AND LGPL-3.0+ 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 (LGPL-3.0 OR GPL-2.0 OR GPL-3.0) 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
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%license %{crate_instdir}/LICENSE.txt
+%doc %{crate_instdir}/CONTRIBUTING.md
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-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_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires -f crypto-nettle,crypto-openssl
+
+%build
+%cargo_build -f crypto-nettle
+%cargo_license_summary -f crypto-nettle
+%{cargo_license -f crypto-nettle} > LICENSE.dependencies
+
+%install
+%cargo_install -f crypto-nettle
+# 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
+
+%if %{with check}
+%check
+# run tests with both cryptographic backends
+# skip test that requires a file which is not included in published crates
+%cargo_test -f crypto-nettle -- -- --skip gpg_trust_roots
+%cargo_test -f crypto-openssl -- -- --skip gpg_trust_roots
+%endif
+
+%changelog
+%autochangelog
diff --git a/sequoia-wot-fix-metadata-auto.diff b/sequoia-wot-fix-metadata-auto.diff
new file mode 100644
index 0000000..58a8f91
--- /dev/null
+++ b/sequoia-wot-fix-metadata-auto.diff
@@ -0,0 +1,13 @@
+--- sequoia-wot-0.5.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ sequoia-wot-0.5.0/Cargo.toml 2023-04-14T14:47:28.853432+00:00
+@@ -126,10 +126,5 @@
+ features = ["crypto-nettle"]
+ default-features = false
+
+-[target."cfg(windows)".dev-dependencies.sequoia-openpgp]
+-version = "1"
+-features = ["crypto-cng"]
+-default-features = false
+-
+ [badges.maintenance]
+ status = "actively-developed"
diff --git a/sequoia-wot-fix-metadata.diff b/sequoia-wot-fix-metadata.diff
new file mode 100644
index 0000000..88b197d
--- /dev/null
+++ b/sequoia-wot-fix-metadata.diff
@@ -0,0 +1,34 @@
+--- sequoia-wot-0.5.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ sequoia-wot-0.5.0/Cargo.toml 2023-04-14T14:49:27.592927+00:00
+@@ -75,7 +75,7 @@
+ version = "0.1"
+
+ [dependencies.sequoia-net]
+-version = "0.26"
++version = "0.27"
+ default-features = false
+
+ [dependencies.sequoia-openpgp]
+@@ -83,7 +83,7 @@
+ default-features = false
+
+ [dependencies.sequoia-policy-config]
+-version = "0.5"
++version = "0.6"
+
+ [dependencies.thiserror]
+ version = "1.0.2"
+@@ -121,9 +121,12 @@
+ [build-dependencies.clap_mangen]
+ version = "0.2"
+
++[features]
++crypto-nettle = ["sequoia-openpgp/crypto-nettle"]
++crypto-openssl = ["sequoia-openpgp/crypto-openssl"]
++
+ [target."cfg(not(windows))".dev-dependencies.sequoia-openpgp]
+ version = "1"
+-features = ["crypto-nettle"]
+ default-features = false
+
+ [badges.maintenance]
diff --git a/sources b/sources
new file mode 100644
index 0000000..08b5bdf
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (sequoia-wot-0.5.0.crate) = 1785ebcd4f8e9e0e345843eec34d286cc93af90cb485ae68d9be2839a0522feb4add38850fb8ace94ab3e8f952a08abd31d8e69007cc9fa9d2fc0356e920addb
reply other threads:[~2026-06-15 12:50 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=178152781169.1.388065780404410341.rpms-rust-sequoia-wot-f71527c66460@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