|
|
@ -4,36 +4,33 @@
|
|
|
|
%global crate fd-find
|
|
|
|
%global crate fd-find
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 6.3.0
|
|
|
|
Version: 7.0.0
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Simple, fast and user-friendly alternative to find
|
|
|
|
Summary: Simple, fast and user-friendly alternative to find
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
URL: https://crates.io/crates/fd-find
|
|
|
|
URL: https://crates.io/crates/fd-find
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
# Initial patched metadata
|
|
|
|
# Initial patched metadata
|
|
|
|
# * Bump ansi_term to 0.10, ignore to 0.4: https://github.com/sharkdp/fd/pull/173
|
|
|
|
|
|
|
|
# * Bump regex-syntax to 0.5: https://github.com/sharkdp/fd/pull/254
|
|
|
|
|
|
|
|
# * No windows
|
|
|
|
# * No windows
|
|
|
|
Patch0: fd-find-6.3.0-fix-metadata.diff
|
|
|
|
Patch0: fd-find-7.0.0-fix-metadata.diff
|
|
|
|
Patch1: 0001-Update-to-regex-syntax-0.5.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
# [dependencies]
|
|
|
|
# [dependencies]
|
|
|
|
BuildRequires: (crate(ansi_term) >= 0.10.0 with crate(ansi_term) < 0.11.0)
|
|
|
|
BuildRequires: (crate(ansi_term) >= 0.11.0 with crate(ansi_term) < 0.12.0)
|
|
|
|
BuildRequires: (crate(atty) >= 0.2.0 with crate(atty) < 0.3.0)
|
|
|
|
BuildRequires: (crate(atty) >= 0.2.0 with crate(atty) < 0.3.0)
|
|
|
|
BuildRequires: ((crate(clap) >= 2.26.0 with crate(clap) < 3.0.0) with crate(clap/suggestions) with crate(clap/color) with crate(clap/wrap_help))
|
|
|
|
BuildRequires: ((crate(clap) >= 2.30.0 with crate(clap) < 3.0.0) with crate(clap/suggestions) with crate(clap/color) with crate(clap/wrap_help))
|
|
|
|
BuildRequires: (crate(ctrlc) >= 3.0.0 with crate(ctrlc) < 4.0.0)
|
|
|
|
BuildRequires: (crate(ctrlc) >= 3.0.0 with crate(ctrlc) < 4.0.0)
|
|
|
|
BuildRequires: (crate(ignore) >= 0.4.0 with crate(ignore) < 0.5.0)
|
|
|
|
BuildRequires: (crate(ignore) >= 0.4.1 with crate(ignore) < 0.5.0)
|
|
|
|
BuildRequires: (crate(lazy_static) >= 1.0.0 with crate(lazy_static) < 2.0.0)
|
|
|
|
BuildRequires: (crate(lazy_static) >= 1.0.0 with crate(lazy_static) < 2.0.0)
|
|
|
|
BuildRequires: (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0)
|
|
|
|
BuildRequires: (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0)
|
|
|
|
BuildRequires: (crate(num_cpus) >= 1.6.2 with crate(num_cpus) < 2.0.0)
|
|
|
|
BuildRequires: (crate(num_cpus) >= 1.8.0 with crate(num_cpus) < 2.0.0)
|
|
|
|
BuildRequires: (crate(regex) >= 0.2.0 with crate(regex) < 0.3.0)
|
|
|
|
BuildRequires: (crate(regex) >= 0.2.7 with crate(regex) < 0.3.0)
|
|
|
|
BuildRequires: (crate(regex-syntax) >= 0.5.0 with crate(regex-syntax) < 0.6.0)
|
|
|
|
BuildRequires: (crate(regex-syntax) >= 0.5.0 with crate(regex-syntax) < 0.6.0)
|
|
|
|
# [build-dependencies]
|
|
|
|
# [build-dependencies]
|
|
|
|
BuildRequires: (crate(clap) >= 2.26.0 with crate(clap) < 3.0.0)
|
|
|
|
BuildRequires: (crate(clap) >= 2.30.0 with crate(clap) < 3.0.0)
|
|
|
|
BuildRequires: (crate(version_check) >= 0.1.3 with crate(version_check) < 0.2.0)
|
|
|
|
BuildRequires: (crate(version_check) >= 0.1.3 with crate(version_check) < 0.2.0)
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
# [dev-dependencies]
|
|
|
|
# [dev-dependencies]
|
|
|
@ -88,7 +85,10 @@ Summary: %{summary}
|
|
|
|
%{_datadir}/zsh/site-functions/_fd
|
|
|
|
%{_datadir}/zsh/site-functions/_fd
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Wed Mar 14 2018 Josh Stone <jistone@redhat.com> - 0.2.9-1
|
|
|
|
* Mon Mar 26 2018 Josh Stone <jistone@redhat.com> - 7.0.0-1
|
|
|
|
|
|
|
|
- Update to 7.0.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Mar 14 2018 Josh Stone <jistone@redhat.com> - 6.3.0-2
|
|
|
|
- Bump regex-syntax to 0.5
|
|
|
|
- Bump regex-syntax to 0.5
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Feb 12 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.3.0-1
|
|
|
|
* Mon Feb 12 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.3.0-1
|
|
|
|