public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-fd-find] f44: Allow building against lscolors 0.10
@ 2026-06-07 6:40 Michel Lind
0 siblings, 0 replies; only message in thread
From: Michel Lind @ 2026-06-07 6:40 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-fd-find
Branch : f44
Commit : 2560cff2a57b4d83e3f05c4eb3ad9a848c5e34c4
Author : Michel Lind <salimma@fedoraproject.org>
Date : 2026-03-18T18:28:07+00:00
Stats : +17/-0 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rust-fd-find/c/2560cff2a57b4d83e3f05c4eb3ad9a848c5e34c4?branch=f44
Log:
Allow building against lscolors 0.10
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
---
diff --git a/fd-find-fix-metadata.diff b/fd-find-fix-metadata.diff
new file mode 100644
index 0000000..d2875f1
--- /dev/null
+++ b/fd-find-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- fd-find-10.4.2/Cargo.toml 2006-07-24T01:21:28+00:00
++++ fd-find-10.4.2/Cargo.toml 2026-03-18T18:09:43.739072+00:00
+@@ -122,7 +122,7 @@
+ version = "0.2.18"
+
+ [dependencies.lscolors]
+-version = "0.21"
++version = ">=0.20,<0.22"
+ features = ["nu-ansi-term"]
+ default-features = false
+
diff --git a/rust-fd-find.spec b/rust-fd-find.spec
index ae381b0..6829215 100644
--- a/rust-fd-find.spec
+++ b/rust-fd-find.spec
@@ -11,6 +11,9 @@ Summary: Fd is a simple, fast and user-friendly alternative to find
License: MIT OR Apache-2.0
URL: https://crates.io/crates/fd-find
Source: %{crates_source}
+# Manually created patch for downstream crate metadata changes
+# * Allow lscolors 0.20
+Patch: fd-find-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
diff --git a/rust2rpm.toml b/rust2rpm.toml
index 6182f7f..415b828 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,4 +1,7 @@
[package]
+cargo-toml-patch-comments = [
+ "Allow lscolors 0.20",
+]
extra-files = [
"%{_mandir}/man1/fd.1*",
"%{bash_completions_dir}/fd.bash",
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-07 6:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-07 6:40 [rpms/rust-fd-find] f44: Allow building against lscolors 0.10 Michel Lind
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox