public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-toml] rawhide: Update to version 1.1.3; Fixes RHBZ#2499976
@ 2026-07-21 14:15 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-07-21 14:15 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-toml
Branch : rawhide
Commit : c606bb2bec8fe39389c95dd3ba3ca3f620c49d6d
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-07-21T16:10:47+02:00
Stats  : +44/-15 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-toml/c/c606bb2bec8fe39389c95dd3ba3ca3f620c49d6d?branch=rawhide

Log:
Update to version 1.1.3; Fixes RHBZ#2499976

---
diff --git a/.gitignore b/.gitignore
index f67b1a8..57c05be 100644
--- a/.gitignore
+++ b/.gitignore
@@ -34,3 +34,4 @@
 /toml-1.0.2+spec-1.1.0.crate
 /toml-1.1.0+spec-1.1.0.crate
 /toml-1.1.2+spec-1.1.0.crate
+/toml-1.1.3+spec-1.1.0.crate

diff --git a/rust-toml.spec b/rust-toml.spec
index fada244..2815d64 100644
--- a/rust-toml.spec
+++ b/rust-toml.spec
@@ -1,13 +1,12 @@
 # Generated by rust2rpm 28
-# * missing dev-dependencies: toml-test-data, toml-test-harness
-%bcond check 0
+%bcond check 1
 %global debug_package %{nil}
 
 %global crate toml
-%global crate_version 1.1.2+spec-1.1.0
+%global crate_version 1.1.3+spec-1.1.0
 
 Name:           rust-toml
-Version:        1.1.2
+Version:        1.1.3
 Release:        %autorelease
 Summary:        Native Rust encoder and decoder of TOML-formatted files and streams
 
@@ -16,6 +15,10 @@ URL:            https://crates.io/crates/toml
 Source:         %{crates_source %{crate} %{crate_version}}
 # Automatically generated patch to strip dependencies and normalize metadata
 Patch:          toml-fix-metadata-auto.diff
+# Manually created patch for downstream crate metadata changes
+# * Omit dev-dependencies not used for anything in the published crate: snapbox,
+#   toml-test-data, toml-test-harness, walkdir
+Patch:          toml-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24
 

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 1bbf402..839240d 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,4 +1,7 @@
-[tests]
-run = false
-comments = ["missing dev-dependencies: toml-test-data, toml-test-harness"]
-
+[package]
+cargo-toml-patch-comments = [
+    """\
+    Omit dev-dependencies not used for anything in the published crate: \
+    snapbox, toml-test-data, toml-test-harness, walkdir\
+    """,
+]

diff --git a/sources b/sources
index ca36aa7..8999219 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (toml-1.1.2+spec-1.1.0.crate) = d7b6bae5bfc9163b91f054d36b9960f45bc4f42fabbd4f6d6cd33815863c9114c355bdb5839da61c28adad6d04ee48635401c71a8b9db89ab18a0a04ad9ac261
+SHA512 (toml-1.1.3+spec-1.1.0.crate) = a688160c68baf1d5ca46f6547b18af2681f2355f31c2f7b42fe444a6813631bec40492e00232e2189fb4db815acf7975890510829c3b1fe0c836543155397115

diff --git a/toml-fix-metadata-auto.diff b/toml-fix-metadata-auto.diff
index 944cc12..ed73502 100644
--- a/toml-fix-metadata-auto.diff
+++ b/toml-fix-metadata-auto.diff
@@ -1,15 +1,15 @@
---- toml-1.1.2+spec-1.1.0/Cargo.toml	2006-07-24T01:21:28+00:00
-+++ toml-1.1.2+spec-1.1.0/Cargo.toml	2026-05-27T23:21:48.133924+00:00
+--- toml-1.1.3+spec-1.1.0/Cargo.toml	2006-07-24T01:21:28+00:00
++++ toml-1.1.3+spec-1.1.0/Cargo.toml	2026-07-21T14:04:49.935747+00:00
 @@ -13,7 +13,7 @@
  edition = "2024"
  rust-version = "1.85"
  name = "toml"
--version = "1.1.2+spec-1.1.0"
-+version = "1.1.2"
+-version = "1.1.3+spec-1.1.0"
++version = "1.1.3"
  build = false
  include = [
-     "build.rs",
-@@ -311,3 +311,4 @@
+     "/build.rs",
+@@ -312,3 +312,4 @@
  [lints.rust.rust_2018_idioms]
  level = "warn"
  priority = -1

diff --git a/toml-fix-metadata.diff b/toml-fix-metadata.diff
new file mode 100644
index 0000000..3c742c1
--- /dev/null
+++ b/toml-fix-metadata.diff
@@ -0,0 +1,22 @@
+--- toml-1.1.3+spec-1.1.0/Cargo.toml	2006-07-24T01:21:28+00:00
++++ toml-1.1.3+spec-1.1.0/Cargo.toml	2026-07-21T14:04:55.952793+00:00
+@@ -223,19 +223,6 @@
+ 
+ [dev-dependencies.serde_json]
+ version = "1.0.149"
+-
+-[dev-dependencies.snapbox]
+-version = "1.1.0"
+-
+-[dev-dependencies.toml-test-data]
+-version = "2.13.0"
+-
+-[dev-dependencies.toml-test-harness]
+-version = "1.13.0"
+-features = ["snapshot"]
+-
+-[dev-dependencies.walkdir]
+-version = "2.5.0"
+ 
+ [lints.clippy]
+ bool_assert_comparison = "allow"

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-21 14:15 [rpms/rust-toml] rawhide: Update to version 1.1.3; Fixes RHBZ#2499976 Fabio Valentini

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