public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-tree_magic_mini] f44: Remove unused, benchmark-only dev-dependency on bencher
Date: Thu, 03 Sep 2026 20:03:56 GMT	[thread overview]
Message-ID: <178846583628.1.13467658778279894559.rpms-rust-tree_magic_mini-75fdc54ce115@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-tree_magic_mini
Branch : f44
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=f44

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"

                 reply	other threads:[~2026-09-03 20:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178846583628.1.13467658778279894559.rpms-rust-tree_magic_mini-75fdc54ce115@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox