public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-humantime] epel9: Drop unused, benchmark-only bencher dev-dependency
@ 2026-07-02 14:36 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-07-02 14:36 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-humantime
Branch : epel9
Commit : 9eb8642c37675b2462f2ccb52b4e75f50457fd96
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-07-02T16:26:57+02:00
Stats : +20/-0 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rust-humantime/c/9eb8642c37675b2462f2ccb52b4e75f50457fd96?branch=epel9
Log:
Drop unused, benchmark-only bencher dev-dependency
---
diff --git a/humantime-fix-metadata.diff b/humantime-fix-metadata.diff
new file mode 100644
index 0000000..945d7bb
--- /dev/null
+++ b/humantime-fix-metadata.diff
@@ -0,0 +1,12 @@
+--- humantime-2.3.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ humantime-2.3.0/Cargo.toml 2025-09-12T13:01:48.770621+00:00
+@@ -51,9 +51,6 @@
+ path = "benches/datetime_parse.rs"
+ harness = false
+
+-[dev-dependencies.bencher]
+-version = "0.1.5"
+-
+ [dev-dependencies.chrono]
+ version = "0.4"
+
diff --git a/rust-humantime.spec b/rust-humantime.spec
index 1350e47..26ee685 100644
--- a/rust-humantime.spec
+++ b/rust-humantime.spec
@@ -12,6 +12,9 @@ Summary: Parser and formatter for std::time::{Duration, SystemTime}
License: MIT OR Apache-2.0
URL: https://crates.io/crates/humantime
Source: %{crates_source}
+# Manually created patch for downstream crate metadata changes
+# * drop unused, benchmark-only bencher dev-dependency
+Patch: humantime-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..2d5f8fb
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,5 @@
+[package]
+cargo-toml-patch-comments = [
+ "drop unused, benchmark-only bencher dev-dependency",
+]
+
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-02 14:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-02 14:36 [rpms/rust-humantime] epel9: Drop unused, benchmark-only bencher dev-dependency Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox