|
|
@ -1,111 +1,3 @@
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
|
|
|
|
## (rpmautospec version 0.3.5)
|
|
|
|
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
|
|
|
|
release_number = 1;
|
|
|
|
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
|
|
|
|
%bcond_without check
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global crate fd-find
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-fd-find
|
|
|
|
|
|
|
|
Version: 8.7.1
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
# * drop jemallocator dependency
|
|
|
|
|
|
|
|
Patch: fd-find-fix-metadata.diff
|
|
|
|
|
|
|
|
# * drop jemallocator from code
|
|
|
|
|
|
|
|
Patch: fd-find-8.7.1-remove_usage_of_jemallocator.diff
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 23
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
|
|
|
Fd is a simple, fast and user-friendly alternative to find.}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{crate}
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
# (MIT OR Apache-2.0) AND Unicode-DFS-2016
|
|
|
|
|
|
|
|
# Apache-2.0 OR MIT
|
|
|
|
|
|
|
|
# Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
|
|
|
|
|
|
|
|
# MIT
|
|
|
|
|
|
|
|
# MIT OR Apache-2.0
|
|
|
|
|
|
|
|
# Unlicense OR MIT
|
|
|
|
|
|
|
|
License: MIT AND Unicode-DFS-2016
|
|
|
|
|
|
|
|
# LICENSE.dependencies contains a full license breakdown
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{crate} %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{crate}
|
|
|
|
|
|
|
|
%license LICENSE-APACHE
|
|
|
|
|
|
|
|
%license LICENSE-MIT
|
|
|
|
|
|
|
|
%license LICENSE.dependencies
|
|
|
|
|
|
|
|
%doc CHANGELOG.md
|
|
|
|
|
|
|
|
%doc CONTRIBUTING.md
|
|
|
|
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%{_bindir}/fd
|
|
|
|
|
|
|
|
%{_mandir}/man1/fd.1*
|
|
|
|
|
|
|
|
%{bash_completions_dir}/fd
|
|
|
|
|
|
|
|
%{fish_completions_dir}/fd.fish
|
|
|
|
|
|
|
|
%{zsh_completions_dir}/_fd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
%{cargo_license_summary}
|
|
|
|
|
|
|
|
%{cargo_license} > LICENSE.dependencies
|
|
|
|
|
|
|
|
# generate shell completions
|
|
|
|
|
|
|
|
./target/release/fd --gen-completions bash > fd.bash
|
|
|
|
|
|
|
|
./target/release/fd --gen-completions fish > fd.fish
|
|
|
|
|
|
|
|
./target/release/fd --gen-completions zsh > fd.zsh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
|
|
|
%cargo_install
|
|
|
|
|
|
|
|
# install manpage
|
|
|
|
|
|
|
|
install -Dpm 644 doc/fd.1 -t %{buildroot}/%{_mandir}/man1/
|
|
|
|
|
|
|
|
# install shell completions
|
|
|
|
|
|
|
|
install -Dpm 0644 fd.bash %{buildroot}/%{bash_completions_dir}/fd
|
|
|
|
|
|
|
|
install -Dpm 0644 fd.fish %{buildroot}/%{fish_completions_dir}/fd.fish
|
|
|
|
|
|
|
|
install -Dpm 0644 fd.zsh %{buildroot}/%{zsh_completions_dir}/_fd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
|
|
|
%cargo_test
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Jan 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 8.7.1-1
|
|
|
|
|
|
|
|
- Rebuilt for MSVSphere 9.3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Oct 28 2023 Michel Lind <salimma@fedoraproject.org> - 8.7.1-1
|
|
|
|
|
|
|
|
- Update to 8.7.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 8.7.0-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Apr 19 2023 Fabio Valentini <decathorpe@gmail.com> - 8.7.0-2
|
|
|
|
|
|
|
|
- Remove stabilized but previously unstable "clap/unstable-grouped" feature
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Mar 03 2023 Fabio Valentini <decathorpe@gmail.com> - 8.7.0-1
|
|
|
|
|
|
|
|
- Update to version 8.7.0; Fixes RHBZ#2027038
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Feb 04 2023 Fabio Valentini <decathorpe@gmail.com> - 8.2.1-11
|
|
|
|
* Sat Feb 04 2023 Fabio Valentini <decathorpe@gmail.com> - 8.2.1-11
|
|
|
|
- Rebuild for fixed frame pointer compiler flags in Rust RPM macros.
|
|
|
|
- Rebuild for fixed frame pointer compiler flags in Rust RPM macros.
|
|
|
|
|
|
|
|
|
|
|
@ -238,4 +130,3 @@ install -Dpm 0644 fd.zsh %{buildroot}/%{zsh_completions_dir}/_fd
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Nov 20 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.0.0-1
|
|
|
|
* Mon Nov 20 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.0.0-1
|
|
|
|
- Initial package
|
|
|
|
- Initial package
|
|
|
|
|
|
|
|
|