public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-sluice] f43: Initial import
@ 2026-09-08 19:29 Igor Raits
0 siblings, 0 replies; only message in thread
From: Igor Raits @ 2026-09-08 19:29 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-sluice
Branch : f43
Commit : 4b1d74d26c76a4203463e1b99739a977d9a39b0a
Author : Igor Raits <ignatenkobrain@fedoraproject.org>
Date : 2020-02-18T11:55:07+01:00
Stats : +90/-0 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/rust-sluice/c/4b1d74d26c76a4203463e1b99739a977d9a39b0a?branch=f43
Log:
Initial import
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..97ba19a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/sluice-0.5.1.crate
diff --git a/rust-sluice.spec b/rust-sluice.spec
new file mode 100644
index 0000000..d7c8028
--- /dev/null
+++ b/rust-sluice.spec
@@ -0,0 +1,78 @@
+# Generated by rust2rpm 13
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate sluice
+
+Name: rust-%{crate}
+Version: 0.5.1
+Release: 1%{?dist}
+Summary: Efficient ring buffer for byte buffers, FIFO queues, and SPSC channels
+
+# Upstream license specification: MIT
+License: MIT
+URL: https://crates.io/crates/sluice
+Source: %{crates_source}
+# Initial patched metadata
+# * Add missing dependency for futures-util, https://github.com/sagebind/sluice/pull/11
+Patch0: sluice-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Efficient ring buffer for byte buffers, FIFO queues, and SPSC channels.}
+
+%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
+%license LICENSE
+%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
+
+%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
+* Tue Feb 18 10:58:21 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.5.1-1
+- Initial package
diff --git a/sluice-fix-metadata.diff b/sluice-fix-metadata.diff
new file mode 100644
index 0000000..0889ea2
--- /dev/null
+++ b/sluice-fix-metadata.diff
@@ -0,0 +1,10 @@
+--- sluice-0.5.1/Cargo.toml 1970-01-01T00:00:00+00:00
++++ sluice-0.5.1/Cargo.toml 2020-02-18T09:58:21.318248+00:00
+@@ -38,6 +38,7 @@
+ [dependencies.futures-util]
+ version = "0.3"
+ default-features = false
++features = ["io"]
+ [dev-dependencies.criterion]
+ version = "0.3"
+
diff --git a/sources b/sources
new file mode 100644
index 0000000..54ee9c4
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (sluice-0.5.1.crate) = 3e25e7823ddf85094e9437a7d11942ae3f1eb9148618244e8b8f8cb0eaf1bb87694085f800f9a12bbed8c49915bff39be90aada21daa90cc4c8fc817b4d9ad8e
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-08 19:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-08 19:29 [rpms/rust-sluice] f43: Initial import Igor Raits
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox