public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-fd-find] f44: Update to version 10.5.2; Fixes RHBZ#2524291
Date: Tue, 10 Nov 2026 00:32:05 GMT [thread overview]
Message-ID: <179427072564.1.13912089187080192950.rpms-rust-fd-find-3360ffd11356@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-fd-find
Branch : f44
Commit : 3360ffd113560eea0cb7c66c4a3d2e370f591888
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-11-07T16:32:25+01:00
Stats : +9/-111 in 6 file(s)
URL : https://src.fedoraproject.org/rpms/rust-fd-find/c/3360ffd113560eea0cb7c66c4a3d2e370f591888?branch=f44
Log:
Update to version 10.5.2; Fixes RHBZ#2524291
---
diff --git a/.gitignore b/.gitignore
index 39ad268..ec67348 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,3 +18,4 @@
/fd-find-10.2.0.crate
/fd-find-10.3.0.crate
/fd-find-10.4.2.crate
+/fd-find-10.5.2.crate
diff --git a/fd-find-fix-metadata.diff b/fd-find-fix-metadata.diff
deleted file mode 100644
index 268945c..0000000
--- a/fd-find-fix-metadata.diff
+++ /dev/null
@@ -1,29 +0,0 @@
---- fd-find-10.4.2/Cargo.toml 2006-07-24T01:21:28+00:00
-+++ fd-find-10.4.2/Cargo.toml 2026-06-04T11:45:36.662364+00:00
-@@ -11,7 +11,7 @@
-
- [package]
- edition = "2024"
--rust-version = "1.90.0"
-+rust-version = "1.88.0"
- name = "fd-find"
- version = "10.4.2"
- authors = ["David Peter <mail@david-peter.de>"]
-@@ -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
-
-@@ -151,7 +151,7 @@
- version = "3.3"
-
- [target.'cfg(all(not(windows), not(target_os = "android"), not(target_os = "macos"), not(target_os = "freebsd"), not(target_os = "openbsd"), not(target_os = "illumos"), not(all(target_env = "musl", target_pointer_width = "32")), not(target_arch = "riscv64")))'.dependencies.tikv-jemallocator]
--version = "0.6.0"
-+version = ">=0.6.0, <0.8.0"
- optional = true
-
- [target.'cfg(all(unix, not(target_os = "redox")))'.dependencies.libc]
diff --git a/fd-find-refactor-Get-io-error-from-method.patch b/fd-find-refactor-Get-io-error-from-method.patch
deleted file mode 100644
index 635215a..0000000
--- a/fd-find-refactor-Get-io-error-from-method.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-From f898e95db5a90190fee6eb6e000e024615d2be85 Mon Sep 17 00:00:00 2001
-From: Thayne McCombs <astrothayne@gmail.com>
-Date: Wed, 1 Jul 2026 00:49:58 -0600
-Subject: [PATCH] refactor: Get io error from method
-
-use `ignore::Error::io_error()` to inspect the `std::io::Error` insted
-of pattern matching on `ignore::Error::Io`.
-
-This avoids relying on the implementation of ignore and how it organizes
-the error. In particular, this would allow us to handle if the IO error
-was wrapped in a `WithDepth`, as would be the case if
-BurntSushi/ripgrep#3458 was merged.
-
-This also allows us to remove some duplicate code.
----
- src/walk.rs | 30 ++++++++++--------------------
- 1 file changed, 10 insertions(+), 20 deletions(-)
-
-diff --git a/src/walk.rs b/src/walk.rs
-index 73c03bd92..30128a0bc 100644
---- a/src/walk.rs
-+++ b/src/walk.rs
-@@ -487,26 +487,16 @@ impl WorkerState {
- Err(ignore::Error::WithPath {
- path,
- err: inner_err,
-- }) => match inner_err.as_ref() {
-- ignore::Error::Io(io_error)
-- if io_error.kind() == io::ErrorKind::NotFound
-- && path
-- .symlink_metadata()
-- .ok()
-- .is_some_and(|m| m.file_type().is_symlink()) =>
-- {
-- DirEntry::broken_symlink(path)
-- }
-- _ => {
-- return match tx.send(WorkerResult::Error(ignore::Error::WithPath {
-- path,
-- err: inner_err,
-- })) {
-- Ok(_) => WalkState::Continue,
-- Err(_) => WalkState::Quit,
-- };
-- }
-- },
-+ }) if inner_err
-+ .io_error()
-+ .is_some_and(|io_error| io_error.kind() == io::ErrorKind::NotFound)
-+ && path
-+ .symlink_metadata()
-+ .ok()
-+ .is_some_and(|m| m.file_type().is_symlink()) =>
-+ {
-+ DirEntry::broken_symlink(path)
-+ }
- Err(err) => {
- return match tx.send(WorkerResult::Error(err)) {
- Ok(_) => WalkState::Continue,
diff --git a/rust-fd-find.spec b/rust-fd-find.spec
index db1d366..6785488 100644
--- a/rust-fd-find.spec
+++ b/rust-fd-find.spec
@@ -4,23 +4,13 @@
%global crate fd-find
Name: rust-fd-find
-Version: 10.4.2
+Version: 10.5.2
Release: %autorelease
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
-# * Temporary lower MSRV from 1.90.0 to 1.88.0 for EL9
-# * Allow lscolors 0.20
-# * Allow tikv-jemallocator 0.7: https://github.com/sharkdp/fd/pull/2027
-Patch: fd-find-fix-metadata.diff
-# Fix test_follow_broken_symlink with ignore >= 0.4.28, which wraps the io::Error
-# in an extra Error::WithDepth layer that fd's pattern match did not expect, so
-# broken symlinks were reported as errors instead of entries. Merged upstream
-# after 10.4.2; drop on the next release.
-Patch: https://github.com/sharkdp/fd/commit/f898e95db5a90190fee6eb6e000e024615d2be85.patch#/fd-find-refactor-Get-io-error-from-method.patch
BuildRequires: cargo-rpm-macros >= 24
@@ -38,12 +28,12 @@ Summary: %{summary}
# MIT OR Apache-2.0
# Unlicense OR MIT
License: %{shrink:
- MIT AND
- Unicode-DFS-2016 AND
- (Apache-2.0 OR MIT) AND
- (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND
- (Unlicense OR MIT)
- }
+ (MIT OR Apache-2.0)
+ AND MIT
+ AND Unicode-DFS-2016
+ AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT)
+ AND (Unlicense OR MIT)
+}
# LICENSE.dependencies contains a full license breakdown
%description -n %{crate} %{_description}
diff --git a/rust2rpm.toml b/rust2rpm.toml
index 7fda4ad..6182f7f 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,9 +1,4 @@
[package]
-cargo-toml-patch-comments = [
- "Temporary lower MSRV from 1.90.0 to 1.88.0 for EL9",
- "Allow lscolors 0.20",
- "Allow tikv-jemallocator 0.7: https://github.com/sharkdp/fd/pull/2027",
-]
extra-files = [
"%{_mandir}/man1/fd.1*",
"%{bash_completions_dir}/fd.bash",
diff --git a/sources b/sources
index bbb6865..78709e6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (fd-find-10.4.2.crate) = c874d312faa63a40167429f29d8b88bface439db8995b0cca224d0780124cef0fa594510da43a6b517a24ddf5528eb3c48883cc6bbd19dfe57694e8f2cbe1625
+SHA512 (fd-find-10.5.2.crate) = a184fedf2926acd16842822a615c8d5d177a28894c21105a21478a2bee4312987bb299cfd6c1b50c0a80321b6aed316547a60cfa446093052f7608a3526e59ff
reply other threads:[~2026-11-10 0:32 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=179427072564.1.13912089187080192950.rpms-rust-fd-find-3360ffd11356@fedoraproject.org \
--to=decathorpe@gmail.com \
--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