public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michel Lind <salimma@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-fd-find] f44: Allow building against lscolors 0.10
Date: Sun, 07 Jun 2026 06:40:39 GMT	[thread overview]
Message-ID: <178081443981.1.15776811297181987877.rpms-rust-fd-find-2560cff2a57b@fedoraproject.org> (raw)

            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",

                 reply	other threads:[~2026-06-07  6:40 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=178081443981.1.15776811297181987877.rpms-rust-fd-find-2560cff2a57b@fedoraproject.org \
    --to=salimma@fedoraproject.org \
    --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