public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-hashbrown0.12] rawhide: Regenerate with rust2rpm v28
@ 2026-08-05 13:19 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-08-05 13:19 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-hashbrown0.12
Branch : rawhide
Commit : 83e2d3508fb806ea75200a00389406e1457bfebf
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-08-05T15:19:36+02:00
Stats  : +53/-14 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-hashbrown0.12/c/83e2d3508fb806ea75200a00389406e1457bfebf?branch=rawhide

Log:
Regenerate with rust2rpm v28

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

diff --git a/hashbrown-fix-metadata.diff b/hashbrown-fix-metadata.diff
new file mode 100644
index 0000000..c0c0bd8
--- /dev/null
+++ b/hashbrown-fix-metadata.diff
@@ -0,0 +1,40 @@
+--- hashbrown-0.12.3/Cargo.toml	1970-01-01T00:00:01+00:00
++++ hashbrown-0.12.3/Cargo.toml	2026-08-05T13:10:01.432978+00:00
+@@ -48,23 +48,9 @@
+ optional = true
+ default-features = false
+ 
+-[dependencies.alloc]
+-version = "1.0.0"
+-optional = true
+-package = "rustc-std-workspace-alloc"
+-
+ [dependencies.bumpalo]
+ version = "3.5.0"
+ optional = true
+-
+-[dependencies.compiler_builtins]
+-version = "0.1.2"
+-optional = true
+-
+-[dependencies.core]
+-version = "1.0.0"
+-optional = true
+-package = "rustc-std-workspace-core"
+ 
+ [dependencies.rayon]
+ version = "1.0"
+@@ -101,13 +87,4 @@
+     "inline-more",
+ ]
+ inline-more = []
+-nightly = []
+ raw = []
+-rustc-dep-of-std = [
+-    "nightly",
+-    "core",
+-    "compiler_builtins",
+-    "alloc",
+-    "rustc-internal-api",
+-]
+-rustc-internal-api = []

diff --git a/rust-hashbrown0.12.spec b/rust-hashbrown0.12.spec
index b4cc412..cddc844 100644
--- a/rust-hashbrown0.12.spec
+++ b/rust-hashbrown0.12.spec
@@ -1,5 +1,5 @@
-# Generated by rust2rpm 23
-%bcond_without check
+# Generated by rust2rpm 28
+%bcond check 1
 %global debug_package %{nil}
 
 %global crate hashbrown
@@ -12,11 +12,14 @@ Summary:        Rust port of Google's SwissTable hash map
 License:        MIT OR Apache-2.0
 URL:            https://crates.io/crates/hashbrown
 Source:         %{crates_source}
+# Manually created patch for downstream crate metadata changes
+# * drop support for building as part of the Rust standard library
+Patch:          hashbrown-fix-metadata.diff
 
-BuildRequires:  rust-packaging >= 21
+BuildRequires:  cargo-rpm-macros >= 24
 
 %global _description %{expand:
-Rust port of Google's SwissTable hash map.}
+A Rust port of Google's SwissTable hash map.}
 
 %description %{_description}
 
@@ -133,7 +136,7 @@ use the "serde" 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
@@ -147,14 +150,8 @@ use the "serde" feature of the "%{crate}" crate.
 
 %if %{with check}
 %check
-%ifarch %{arm}
-# * some doctests inconsistently fail on armv7hl:
-#   https://github.com/rust-lang/hashbrown/issues/349
-%cargo_test -- --lib
-%else
 %cargo_test
 %endif
-%endif
 
 %changelog
 %autochangelog

diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..85983ba
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,5 @@
+[package]
+cargo-toml-patch-comments = [
+    "drop support for building as part of the Rust standard library",
+]
+

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

only message in thread, other threads:[~2026-08-05 13:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-05 13:19 [rpms/rust-hashbrown0.12] rawhide: Regenerate with rust2rpm v28 Fabio Valentini

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