public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-tree_magic_mini] f45: Remove unused, benchmark-only dev-dependency on bencher
@ 2026-09-03 19:44 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-03 19:44 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-tree_magic_mini
Branch : f45
Commit : 75fdc54ce1159e17a1116774d2f97822c8ad249d
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-09-02T08:12:17+01:00
Stats  : +17/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-tree_magic_mini/c/75fdc54ce1159e17a1116774d2f97822c8ad249d?branch=f45

Log:
Remove unused, benchmark-only dev-dependency on bencher

---
diff --git a/rust-tree_magic_mini.spec b/rust-tree_magic_mini.spec
index 10f0e26..752ad78 100644
--- a/rust-tree_magic_mini.spec
+++ b/rust-tree_magic_mini.spec
@@ -14,6 +14,9 @@ Summary:        Determines the MIME type of a file by traversing a filetype tree
 License:        MIT
 URL:            https://crates.io/crates/tree_magic_mini
 Source:         %{crates_source}
+# Manually created patch for downstream crate metadata changes
+# * Remove unused, benchmark-only dev-dependency on bencher
+Patch:          tree_magic_mini-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24
 

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 98ca9aa..d20abcc 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,3 +1,8 @@
+[package]
+cargo-toml-patch-comments = [
+    "Remove unused, benchmark-only dev-dependency on bencher",
+]
+
 [tests]
 run = false
 comments = ["checks can't run because the 'tests' directory is omitted from the crate: https://github.com/mbrubeck/tree_magic/issues/17"]

diff --git a/tree_magic_mini-fix-metadata.diff b/tree_magic_mini-fix-metadata.diff
new file mode 100644
index 0000000..49dcf24
--- /dev/null
+++ b/tree_magic_mini-fix-metadata.diff
@@ -0,0 +1,9 @@
+--- tree_magic_mini-3.2.2/Cargo.toml	1970-01-01T00:00:01+00:00
++++ tree_magic_mini-3.2.2/Cargo.toml	2026-09-02T07:12:02.189804+00:00
+@@ -73,6 +73,3 @@
+ [dependencies.tree_magic_db]
+ version = "3.0"
+ optional = true
+-
+-[dev-dependencies.bencher]
+-version = "0.1.0"

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

only message in thread, other threads:[~2026-09-03 19:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-03 19:44 [rpms/rust-tree_magic_mini] f45: Remove unused, benchmark-only dev-dependency on bencher Benjamin A. Beasley

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