public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-ringbuf] rawhide: Unretire import (fedora#2447807).
@ 2026-07-02 15:19 Jonathan Steffan
  0 siblings, 0 replies; only message in thread
From: Jonathan Steffan @ 2026-07-02 15:19 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-ringbuf
Branch : rawhide
Commit : a17e985ad4c7cd6ae2c9ff8aff124dfb9c925917
Author : Jonathan Steffan <jsteffan@fedoraproject.org>
Date   : 2026-07-02T09:19:35-06:00
Stats  : +31/-14 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-ringbuf/c/a17e985ad4c7cd6ae2c9ff8aff124dfb9c925917?branch=rawhide

Log:
Unretire import (fedora#2447807).

---
diff --git a/.gitignore b/.gitignore
index 0d2657e..abdc93a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /ringbuf-0.2.6.crate
 /ringbuf-0.2.7.crate
 /ringbuf-0.2.8.crate
+/ringbuf-0.4.8.crate

diff --git a/rust-ringbuf.spec b/rust-ringbuf.spec
index 6832691..2d2ffa5 100644
--- a/rust-ringbuf.spec
+++ b/rust-ringbuf.spec
@@ -1,22 +1,20 @@
-# Generated by rust2rpm 21
-%bcond_without check
+# Generated by rust2rpm 28
+%bcond check 1
 %global debug_package %{nil}
 
 %global crate ringbuf
 
-Name:           rust-%{crate}
-Version:        0.2.8
+Name:           rust-ringbuf
+Version:        0.4.8
 Release:        %autorelease
 Summary:        Lock-free SPSC FIFO ring buffer with direct access to inner data
 
 # Upstream license specification: MIT/Apache-2.0
-License:        MIT or ASL 2.0
+License:        MIT OR Apache-2.0
 URL:            https://crates.io/crates/ringbuf
 Source:         %{crates_source}
 
-ExclusiveArch:  %{rust_arches}
-
-BuildRequires:  rust-packaging >= 21
+BuildRequires:  cargo-rpm-macros >= 24
 
 %global _description %{expand:
 Lock-free SPSC FIFO ring buffer with direct access to inner data.}
@@ -50,16 +48,28 @@ use the "default" feature of the "%{crate}" crate.
 %files       -n %{name}+default-devel
 %ghost %{crate_instdir}/Cargo.toml
 
-%package     -n %{name}+benchmark-devel
+%package     -n %{name}+alloc-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+alloc-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "alloc" feature of the "%{crate}" crate.
+
+%files       -n %{name}+alloc-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package     -n %{name}+portable-atomic-devel
 Summary:        %{summary}
 BuildArch:      noarch
 
-%description -n %{name}+benchmark-devel %{_description}
+%description -n %{name}+portable-atomic-devel %{_description}
 
 This package contains library source intended for building other packages which
-use the "benchmark" feature of the "%{crate}" crate.
+use the "portable-atomic" feature of the "%{crate}" crate.
 
-%files       -n %{name}+benchmark-devel
+%files       -n %{name}+portable-atomic-devel
 %ghost %{crate_instdir}/Cargo.toml
 
 %package     -n %{name}+std-devel
@@ -75,7 +85,7 @@ use the "std" feature of the "%{crate}" crate.
 %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..b07491a
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,6 @@
+[features]
+hide = [
+    # Intended for internal use, not external dependencies:
+    "bench",
+    "test_local",
+]

diff --git a/sources b/sources
index baf7244..d37accf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (ringbuf-0.2.8.crate) = 8bf2d79c65451df9b22b696a6ddddd004768e8fd90920d624fccc77ff5c63067fb663b3cbff9e29e17b7d553f86e2016d754f3ff843f34dfd0a105ade2630f53
+SHA512 (ringbuf-0.4.8.crate) = fcce159272ff76c0b4591b40f1a5ff5c45894dec9cb661c10a8a08d703062cc32f0f9645118758960aeee9fc6006f6cbad3a7fa5e1e407c37ff57689a42d4dad

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

only message in thread, other threads:[~2026-07-02 15:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-02 15:19 [rpms/rust-ringbuf] rawhide: Unretire import (fedora#2447807) Jonathan Steffan

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