public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-sequoia-sqv] epel9: initial import (#1948163)
@ 2026-10-12 15:22 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-10-12 15:22 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-sequoia-sqv
Branch : epel9
Commit : 3db7253cbb557cad8300c96c138e0732ce8fec61
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2021-04-13T13:47:19+02:00
Stats : +90/-3 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rust-sequoia-sqv/c/3db7253cbb557cad8300c96c138e0732ce8fec61?branch=epel9
Log:
initial import (#1948163)
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..705c45b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/results_*/
+/*.src.rpm
+
+/sequoia-sqv-1.0.0.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index 334e258..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-sequoia-sqv
-
-The rust-sequoia-sqv package
diff --git a/rust-sequoia-sqv.spec b/rust-sequoia-sqv.spec
new file mode 100644
index 0000000..bab6c29
--- /dev/null
+++ b/rust-sequoia-sqv.spec
@@ -0,0 +1,75 @@
+# Generated by rust2rpm 16
+%bcond_without check
+%global __cargo_skip_build 0
+
+%global crate sequoia-sqv
+
+Name: rust-%{crate}
+Version: 1.0.0
+Release: 1%{?dist}
+Summary: Simple OpenPGP signature verification program
+
+# Upstream license specification: GPL-2.0-or-later
+# https://gitlab.com/sequoia-pgp/sequoia/-/issues/708
+License: GPLv2+
+URL: https://crates.io/crates/sequoia-sqv
+Source: %{crates_source}
+# Initial patched metadata
+# * exclude files that are only useful for upstream development
+Patch0: sequoia-sqv-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Simple OpenPGP signature verification program.}
+
+%description %{_description}
+
+%package -n %{crate}
+Summary: %{summary}
+# 0BSD or MIT or ASL 2.0
+# ASL 2.0
+# ASL 2.0 or MIT
+# BSD
+# CC0
+# GPLv2+
+# LGPLv3 or GPLv2 or GPLv3
+# MIT
+# MIT or ASL 2.0
+# MIT or ASL 2.0 or zlib
+# MIT or zlib or ASL 2.0
+# Unlicense or MIT
+# zlib or ASL 2.0 or MIT
+License: GPLv2+ and ASL 2.0 and BSD and CC0 and MIT
+
+%description -n %{crate} %{_description}
+
+%files -n %{crate}
+%doc README.md
+%{_bindir}/sqv
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+# remove integration tests (assert-cli is broken during RPM builds)
+rm -r tests
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Thu Apr 08 2021 Fabio Valentini <decathorpe@gmail.com> - 1.0.0-1
+- Initial package
diff --git a/sequoia-sqv-fix-metadata.diff b/sequoia-sqv-fix-metadata.diff
new file mode 100644
index 0000000..29129d9
--- /dev/null
+++ b/sequoia-sqv-fix-metadata.diff
@@ -0,0 +1,10 @@
+--- sequoia-sqv-1.0.0/Cargo.toml 2020-12-16T14:18:28+00:00
++++ sequoia-sqv-1.0.0/Cargo.toml 2021-04-08T20:27:27.896780+00:00
+@@ -23,6 +23,7 @@
+ categories = ["cryptography", "command-line-utilities"]
+ license = "GPL-2.0-or-later"
+ repository = "https://gitlab.com/sequoia-pgp/sequoia"
++exclude = ["Makefile", "make-usage.sh"]
+
+ [[bin]]
+ name = "sqv"
diff --git a/sources b/sources
new file mode 100644
index 0000000..e21a227
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (sequoia-sqv-1.0.0.crate) = f9ab0cce072fb22b43c6c23549689fd1267fa92a65180432b827253181ce8192c7563db1cf8b533cc136429811bcf184c258456eb51d551040263e860c064e7b
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-12 15:22 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:22 [rpms/rust-sequoia-sqv] epel9: initial import (#1948163) Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox