public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-sop] epel10: initial import (#1967294)
@ 2026-06-15 10:51 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-06-15 10:51 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-sop
Branch : epel10
Commit : cee490f82a9a525657a8c2d52157d53c20964d26
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2021-06-08T00:31:30+02:00
Stats  : +128/-3 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-sop/c/cee490f82a9a525657a8c2d52157d53c20964d26?branch=epel10

Log:
initial import (#1967294)

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..cec5ef7
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/results_*/
+/*.src.rpm
+
+/sop-0.1.1.crate

diff --git a/README.md b/README.md
deleted file mode 100644
index b8f83cd..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-sop
-
-The rust-sop package

diff --git a/rust-sop.spec b/rust-sop.spec
new file mode 100644
index 0000000..02b91c4
--- /dev/null
+++ b/rust-sop.spec
@@ -0,0 +1,123 @@
+# Generated by rust2rpm 17
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate sop
+
+Name:           rust-%{crate}
+Version:        0.1.1
+Release:        1%{?dist}
+Summary:        Rust Interface for the Stateless OpenPGP Protocol
+
+# Upstream license specification: MIT
+# https://gitlab.com/sequoia-pgp/sop-rs/-/issues/2
+License:        MIT
+URL:            https://crates.io/crates/sop
+Source:         %{crates_source}
+
+ExclusiveArch:  %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch:      noarch
+%endif
+
+BuildRequires:  rust-packaging
+
+%global _description %{expand:
+Rust Interface for the Stateless OpenPGP Protocol.}
+
+%description %{_description}
+
+%package        devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description    devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files          devel
+%doc README.md
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%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 "default" feature of "%{crate}" crate.
+
+%files       -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package     -n %{name}+anyhow-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+anyhow-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "anyhow" feature of "%{crate}" crate.
+
+%files       -n %{name}+anyhow-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package     -n %{name}+chrono-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+chrono-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "chrono" feature of "%{crate}" crate.
+
+%files       -n %{name}+chrono-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package     -n %{name}+cli-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+cli-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "cli" feature of "%{crate}" crate.
+
+%files       -n %{name}+cli-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package     -n %{name}+structopt-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+structopt-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "structopt" feature of "%{crate}" crate.
+
+%files       -n %{name}+structopt-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Wed Jun 02 2021 Fabio Valentini <decathorpe@gmail.com> - 0.1.1-1
+- Initial package

diff --git a/sources b/sources
new file mode 100644
index 0000000..c2d1d8f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (sop-0.1.1.crate) = 733d1e8647122332a6a0a342dc1d73ea2c8b8e7c9ccbec5dadf5ab9ff47a4d94c45d1b22ad729a54aaac2146bc5bc79a2d2ab783f711f16c146687114bc8bcf5

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-15 10:51 [rpms/rust-sop] epel10: initial import (#1967294) Fabio Valentini

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