public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-sluice] f43: Unretire and update to 0.6.0
@ 2026-09-08 19:29 sundaram123krishnan
0 siblings, 0 replies; only message in thread
From: sundaram123krishnan @ 2026-09-08 19:29 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-sluice
Branch : f43
Commit : e6ef1e866d22f3410d99808a0508a74e506cf676
Author : sundaram123krishnan <krishnsundaram@gmail.com>
Date : 2026-09-09T00:44:51+05:30
Stats : +42/-33 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rust-sluice/c/e6ef1e866d22f3410d99808a0508a74e506cf676?branch=f43
Log:
Unretire and update to 0.6.0
---
diff --git a/.gitignore b/.gitignore
index a94f0bd..38a01bb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1 @@
-/sluice-0.5.1.crate
-/sluice-0.5.2.crate
-/sluice-0.5.3.crate
-/sluice-0.5.5.crate
+/sluice-0.6.0.crate
diff --git a/rust-sluice.spec b/rust-sluice.spec
index 8f17e19..de50e80 100644
--- a/rust-sluice.spec
+++ b/rust-sluice.spec
@@ -1,28 +1,22 @@
-# Generated by rust2rpm 18
-%bcond_without check
+# Generated by rust2rpm 28
+%bcond check 1
%global debug_package %{nil}
%global crate sluice
-Name: rust-%{crate}
-Version: 0.5.5
+Name: rust-sluice
+Version: 0.6.0
Release: %autorelease
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
-# * drop unused benchmark-only criterion dependency to speed up builds
-Patch0: sluice-fix-metadata.diff
+# Manually created patch for downstream crate metadata changes
+# * Drop unnecessary benchmark-only dev-dependency on criterion
+Patch: sluice-fix-metadata.diff
-ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-
-BuildRequires: rust-packaging
+BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Efficient ring buffer for byte buffers, FIFO queues, and SPSC channels.}
@@ -35,13 +29,14 @@ BuildArch: noarch
%description devel %{_description}
-This package contains library source intended for building other packages
-which use "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
%files devel
-%license LICENSE
-%doc README.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/CHANGELOG.md
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -49,14 +44,14 @@ 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.
+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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
-%autosetup -n %{crate}-%{version_no_tilde} -p1
+%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..827cf44
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,4 @@
+[package]
+cargo-toml-patch-comments = [
+ "Drop unnecessary benchmark-only dev-dependency on criterion",
+]
diff --git a/sluice-fix-metadata.diff b/sluice-fix-metadata.diff
index c6ed3ff..078578b 100644
--- a/sluice-fix-metadata.diff
+++ b/sluice-fix-metadata.diff
@@ -1,11 +1,24 @@
---- sluice-0.5.5/Cargo.toml 1970-01-01T00:00:00+00:00
-+++ sluice-0.5.5/Cargo.toml 2021-11-06T13:27:04.538367+00:00
-@@ -34,8 +34,6 @@
+--- sluice-0.6.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ sluice-0.6.0/Cargo.toml 2026-08-29T11:49:50.331001+00:00
+@@ -45,11 +45,6 @@
+ name = "pipe"
+ path = "tests/pipe.rs"
+-[[bench]]
+-name = "pipe"
+-path = "benches/pipe.rs"
+-harness = false
+-
+ [dependencies.async-channel]
+ version = "2"
+
+@@ -59,9 +54,6 @@
[dependencies.futures-io]
version = "0.3"
--[dev-dependencies.criterion]
--version = "0.3"
+-[dev-dependencies.criterion]
+-version = "0.6"
+-
[dev-dependencies.futures]
version = "0.3"
+
diff --git a/sources b/sources
index 2a3e396..d301b23 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (sluice-0.5.5.crate) = d0a85db370a921f0591d63a5a78fffedc4c97e5a68915c86753dfb7798cf120542b1fc3193e093655442b34502ce6cadc799b25e39e26c122683e26ebd0383b3
+SHA512 (sluice-0.6.0.crate) = ea25bc81b3b851d959772fdb2c382ae01402ca3029c02d9d38fc70fcbdd2550c95d50fe905864d6b41f4afb959b9feccff292a277957eaf84d12a947d49ccff7
^ 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: Unretire and update to 0.6.0 sundaram123krishnan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox