public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-smol_str] epel9: Update to version 0.3.4; Fixes RHBZ#2406017
@ 2026-06-01 11:29 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-06-01 11:29 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-smol_str
Branch : epel9
Commit : 7c61697b29ff3896241f92584fee59c9c2ade059
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2025-12-29T15:13:41+01:00
Stats  : +43/-15 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-smol_str/c/7c61697b29ff3896241f92584fee59c9c2ade059?branch=epel9

Log:
Update to version 0.3.4; Fixes RHBZ#2406017

---
diff --git a/.gitignore b/.gitignore
index 6df07a6..5fc69ec 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
 /smol_str-0.2.1.crate
 /smol_str-0.2.2.crate
 /smol_str-0.3.2.crate
+/smol_str-0.3.4.crate

diff --git a/rust-smol_str.spec b/rust-smol_str.spec
index 5ffc271..c2878cf 100644
--- a/rust-smol_str.spec
+++ b/rust-smol_str.spec
@@ -1,11 +1,11 @@
-# Generated by rust2rpm 27
+# Generated by rust2rpm 28
 %bcond check 1
 %global debug_package %{nil}
 
 %global crate smol_str
 
 Name:           rust-smol_str
-Version:        0.3.2
+Version:        0.3.4
 Release:        %autorelease
 Summary:        Small-string optimized string type with O(1) clone
 
@@ -14,6 +14,7 @@ URL:            https://crates.io/crates/smol_str
 Source:         %{crates_source}
 # Manually created patch for downstream crate metadata changes
 # * drop unused optional support for borsh
+# * drop unused, benchmark-only criterion dev-dependency
 Patch:          smol_str-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24

diff --git a/rust2rpm.toml b/rust2rpm.toml
index a83ddee..0ce62c9 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,6 +1,7 @@
 [package]
 cargo-toml-patch-comments = [
     "drop unused optional support for borsh",
+    "drop unused, benchmark-only criterion dev-dependency",
 ]
 
 [tests]

diff --git a/smol_str-fix-metadata.diff b/smol_str-fix-metadata.diff
index 23b899f..b08fa79 100644
--- a/smol_str-fix-metadata.diff
+++ b/smol_str-fix-metadata.diff
@@ -1,20 +1,45 @@
---- smol_str-0.3.2/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ smol_str-0.3.2/Cargo.toml	2024-12-02T17:27:50.402886+00:00
-@@ -50,11 +50,6 @@
+--- smol_str-0.3.4/Cargo.toml	1970-01-01T00:00:01+00:00
++++ smol_str-0.3.4/Cargo.toml	2025-12-29T14:12:38.979691+00:00
+@@ -41,7 +41,6 @@
+ serde = ["dep:serde_core"]
+ std = [
+     "serde_core?/std",
+-    "borsh?/std",
+ ]
+ 
+ [lib]
+@@ -56,27 +55,14 @@
+ name = "tidy"
+ path = "tests/tidy.rs"
+ 
+-[[bench]]
+-name = "bench"
+-path = "benches/bench.rs"
+-harness = false
+-
+ [dependencies.arbitrary]
  version = "1.3"
  optional = true
- 
+-
 -[dependencies.borsh]
 -version = "1.4.0"
 -optional = true
 -default-features = false
+ 
+ [dependencies.serde_core]
+ version = "1.0.220"
+ optional = true
+ default-features = false
 -
- [dependencies.serde]
+-[dev-dependencies.criterion]
+-version = "0.7"
+ 
+ [dev-dependencies.proptest]
+ version = "1.5"
+@@ -90,6 +76,3 @@
+ 
+ [dev-dependencies.serde_json]
  version = "1.0"
- optional = true
-@@ -74,5 +69,4 @@
- default = ["std"]
- std = [
-     "serde?/std",
--    "borsh?/std",
- ]
+-
+-[profile.bench]
+-lto = "fat"

diff --git a/sources b/sources
index e769d25..63a15bb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (smol_str-0.3.2.crate) = 37c4f37d13f20175fc2d0d437c00c4c47581770ceb9bbb0966398686f8723ce0aee7a3a6bad97f76644f12174a2ceffe2b9c8f13fac05c46a7584585ac88b474
+SHA512 (smol_str-0.3.4.crate) = 48402513263a53c6c5efa94fc0f68e0c2ca03a6c9a6eed144ed15111dc75cd1da2a67c538dfd4e66f8ebc8f0b877648b2f6931c8187d7e05dc6cc0ab12627121

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

only message in thread, other threads:[~2026-06-01 11:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-01 11:29 [rpms/rust-smol_str] epel9: Update to version 0.3.4; Fixes RHBZ#2406017 Fabio Valentini

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