|
|
@ -1,93 +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 = 11;
|
|
|
|
|
|
|
|
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 exa
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-exa
|
|
|
|
|
|
|
|
Version: 0.10.1
|
|
|
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
|
|
|
Summary: Modern replacement for ls
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
|
|
|
|
URL: https://crates.io/crates/exa
|
|
|
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
|
|
|
|
# * remove feature for statically linking against a vendored copy of OpenSSL
|
|
|
|
|
|
|
|
Patch: exa-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 23
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
|
|
|
A modern replacement for ls.}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{crate}
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
# MIT
|
|
|
|
|
|
|
|
# MIT AND GPL-2.0-only WITH GCC-exception-2.0 AND BSD-3-Clause
|
|
|
|
|
|
|
|
# MIT OR Apache-2.0
|
|
|
|
|
|
|
|
# MIT OR Apache-2.0 OR Zlib
|
|
|
|
|
|
|
|
# Unlicense OR MIT
|
|
|
|
|
|
|
|
# Zlib OR Apache-2.0 OR MIT
|
|
|
|
|
|
|
|
License: MIT AND GPL-2.0-only WITH GCC-exception-2.0 AND BSD-3-Clause AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR Zlib) AND (Unlicense OR MIT)
|
|
|
|
|
|
|
|
# LICENSE.dependencies contains a full license breakdown
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{crate} %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{crate}
|
|
|
|
|
|
|
|
%license LICENCE
|
|
|
|
|
|
|
|
%license LICENSE.dependencies
|
|
|
|
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%{_bindir}/exa
|
|
|
|
|
|
|
|
%{bash_completions_dir}/exa.bash
|
|
|
|
|
|
|
|
%{fish_completions_dir}/exa.fish
|
|
|
|
|
|
|
|
%{zsh_completions_dir}/_exa
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
|
|
|
%cargo_install
|
|
|
|
|
|
|
|
# install shell completions
|
|
|
|
|
|
|
|
install -Dpm0644 -T completions/completions.bash \
|
|
|
|
|
|
|
|
%{buildroot}/%{bash_completions_dir}/exa.bash
|
|
|
|
|
|
|
|
install -Dpm0644 -T completions/completions.fish \
|
|
|
|
|
|
|
|
%{buildroot}/%{fish_completions_dir}/exa.fish
|
|
|
|
|
|
|
|
install -Dpm0644 -T completions/completions.zsh \
|
|
|
|
|
|
|
|
%{buildroot}/%{zsh_completions_dir}/_exa
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
|
|
|
%cargo_test
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Jan 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.10.1-11
|
|
|
|
|
|
|
|
- Rebuilt for MSVSphere 9.3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon May 22 2023 Fabio Valentini <decathorpe@gmail.com> - 0.10.1-11
|
|
|
|
|
|
|
|
- Regenerate with rust2rpm v24 and update license tag
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jan 28 2023 Fabio Valentini <decathorpe@gmail.com> - 0.10.1-9
|
|
|
|
* Sat Jan 28 2023 Fabio Valentini <decathorpe@gmail.com> - 0.10.1-9
|
|
|
|
- Rebuild for CVE-2022-24765 and CVE-2022-29187 in libgit2.
|
|
|
|
- Rebuild for CVE-2022-24765 and CVE-2022-29187 in libgit2.
|
|
|
|
|
|
|
|
|
|
|
@ -210,4 +120,3 @@ install -Dpm0644 -T completions/completions.zsh \
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Nov 21 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.0-1
|
|
|
|
* Tue Nov 21 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.0-1
|
|
|
|
- Initial package
|
|
|
|
- Initial package
|
|
|
|
|
|
|
|
|