|
|
@ -1,14 +1,12 @@
|
|
|
|
# Generated by rust2rpm 13
|
|
|
|
# Generated by rust2rpm 18
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
# Exa is not supposed to be used as a library
|
|
|
|
|
|
|
|
%global __cargo_skip_build 0
|
|
|
|
%global __cargo_skip_build 0
|
|
|
|
%global __cargo_is_lib() false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global crate exa
|
|
|
|
%global crate exa
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.9.0
|
|
|
|
Version: 0.10.1
|
|
|
|
Release: 15%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Modern replacement for ls
|
|
|
|
Summary: Modern replacement for ls
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT
|
|
|
|
# Upstream license specification: MIT
|
|
|
@ -16,21 +14,15 @@ License: MIT
|
|
|
|
URL: https://crates.io/crates/exa
|
|
|
|
URL: https://crates.io/crates/exa
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Initial patched metadata
|
|
|
|
# Initial patched metadata
|
|
|
|
# * Bump to env_logger 0.7.1, https://github.com/ogham/exa/pull/603
|
|
|
|
# * disable feature for vendored OpenSSL
|
|
|
|
# * Update git2 to 0.13, https://github.com/ogham/exa/pull/640
|
|
|
|
|
|
|
|
# * Update zoneinfo_compiled/datetime to 0.5, users to 0.10
|
|
|
|
|
|
|
|
# https://github.com/ogham/exa/pull/667
|
|
|
|
|
|
|
|
Patch0: exa-fix-metadata.diff
|
|
|
|
Patch0: exa-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
exa is a modern replacement for the command-line program ls that ships
|
|
|
|
exa is a modern replacement for the command-line program ls that ships
|
|
|
|
with Unix and Linux operating systems, with more features and better defaults.
|
|
|
|
with Unix and Linux operating systems, with more features and better defaults.
|
|
|
|
It uses colours to distinguish file types and metadata.
|
|
|
|
It uses colours to distinguish file types and metadata.
|
|
|
|
It knows about symlinks, extended attributes, and Git. And it’s small, fast,
|
|
|
|
It knows about symlinks, extended attributes, and Git. And it’s small, fast,
|
|
|
@ -44,6 +36,7 @@ Summary: %{summary}
|
|
|
|
# MIT or ASL 2.0
|
|
|
|
# MIT or ASL 2.0
|
|
|
|
# MIT or ASL 2.0 or zlib
|
|
|
|
# MIT or ASL 2.0 or zlib
|
|
|
|
# Unlicense or MIT
|
|
|
|
# Unlicense or MIT
|
|
|
|
|
|
|
|
# zlib or ASL 2.0 or MIT
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{crate} %{_description}
|
|
|
|
%description -n %{crate} %{_description}
|
|
|
@ -52,7 +45,6 @@ License: MIT
|
|
|
|
%license LICENCE
|
|
|
|
%license LICENCE
|
|
|
|
%doc README.md
|
|
|
|
%doc README.md
|
|
|
|
%{_bindir}/exa
|
|
|
|
%{_bindir}/exa
|
|
|
|
%{_mandir}/man1/exa.1*
|
|
|
|
|
|
|
|
%dir %{_datadir}/bash-completion
|
|
|
|
%dir %{_datadir}/bash-completion
|
|
|
|
%dir %{_datadir}/bash-completion/completions
|
|
|
|
%dir %{_datadir}/bash-completion/completions
|
|
|
|
%{_datadir}/bash-completion/completions/exa.bash
|
|
|
|
%{_datadir}/bash-completion/completions/exa.bash
|
|
|
@ -75,21 +67,22 @@ License: MIT
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%cargo_install
|
|
|
|
%cargo_install
|
|
|
|
install -Dpm0644 -t %{buildroot}%{_mandir}/man1 contrib/man/exa.1
|
|
|
|
install -Dpm0644 -T completions/completions.bash \
|
|
|
|
install -Dpm0644 -T contrib/completions.bash \
|
|
|
|
|
|
|
|
%{buildroot}%{_datadir}/bash-completion/completions/exa.bash
|
|
|
|
%{buildroot}%{_datadir}/bash-completion/completions/exa.bash
|
|
|
|
install -Dpm0644 -T contrib/completions.fish \
|
|
|
|
install -Dpm0644 -T completions/completions.fish \
|
|
|
|
%{buildroot}%{_datadir}/fish/vendor_completions.d/exa.fish
|
|
|
|
%{buildroot}%{_datadir}/fish/vendor_completions.d/exa.fish
|
|
|
|
install -Dpm0644 -T contrib/completions.zsh \
|
|
|
|
install -Dpm0644 -T completions/completions.zsh \
|
|
|
|
%{buildroot}%{_datadir}/zsh/site-functions/_exa
|
|
|
|
%{buildroot}%{_datadir}/zsh/site-functions/_exa
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
# https://github.com/ogham/exa/issues/318
|
|
|
|
%cargo_test
|
|
|
|
%cargo_test || :
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Jul 20 2021 Fabio Valentini <decathorpe@gmail.com> - 0.10.1-1
|
|
|
|
|
|
|
|
- Update to version 0.10.1.
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-15
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|