Blame rust-zoxide.spec

0468d69
# Generated by rust2rpm 17
eb69dc5
%bcond_without check
eb69dc5
%global __cargo_skip_build 0
eb69dc5
eb69dc5
%global crate zoxide
eb69dc5
eb69dc5
Name:           rust-%{crate}
0468d69
Version:        0.5.0
0468d69
Release:        1%{?dist}
eb69dc5
Summary:        Faster way to navigate your filesystem
eb69dc5
eb69dc5
# Upstream license specification: MIT
eb69dc5
License:        MIT
eb69dc5
URL:            https://crates.io/crates/zoxide
eb69dc5
Source:         %{crates_source}
0468d69
# Initial patched metadata
0468d69
# * Update dirs-next to 2, upstreamed
0468d69
Patch0:         zoxide-fix-metadata.diff
eb69dc5
eb69dc5
ExclusiveArch:  %{rust_arches}
eb69dc5
eb69dc5
BuildRequires:  rust-packaging
eb69dc5
eb69dc5
%global _description %{expand:
eb69dc5
Faster way to navigate your filesystem.}
eb69dc5
eb69dc5
%description %{_description}
eb69dc5
eb69dc5
%package     -n %{crate}
eb69dc5
Summary:        %{summary}
c4f39ca
# CC0
c4f39ca
# MIT
c4f39ca
# MIT or ASL 2.0
c4f39ca
# Unlicense or MIT
eb69dc5
License:        MIT and CC0
c4f39ca
# For interactive mode
c4f39ca
Recommends:     fzf
eb69dc5
eb69dc5
%description -n %{crate} %{_description}
eb69dc5
eb69dc5
%files       -n %{crate}
eb69dc5
%license LICENSE
eb69dc5
%doc README.md CHANGELOG.md
eb69dc5
%{_bindir}/zoxide
eb69dc5
eb69dc5
%prep
eb69dc5
%autosetup -n %{crate}-%{version_no_tilde} -p1
eb69dc5
%cargo_prep
eb69dc5
eb69dc5
%generate_buildrequires
eb69dc5
%cargo_generate_buildrequires
21b8798
%if %{with check}
21b8798
echo '/usr/bin/bash'
21b8798
echo '/usr/bin/fish'
21b8798
echo '/usr/bin/shellcheck'
21b8798
echo '/usr/bin/xonsh'
21b8798
echo '/usr/bin/zsh'
21b8798
%endif
eb69dc5
eb69dc5
%build
eb69dc5
%cargo_build
eb69dc5
eb69dc5
%install
eb69dc5
%cargo_install
eb69dc5
eb69dc5
%if %{with check}
eb69dc5
%check
21b8798
%cargo_test -- -- --skip shell::tests::test_pwsh --skip shell::tests::test_shfmt_bash --skip shell::tests::test_shfmt_posix
eb69dc5
%endif
eb69dc5
eb69dc5
%changelog
0468d69
* Tue Dec 29 17:14:03 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.5.0-1
0468d69
- Update to 0.5.0 (Fixes: RHBZ#1893357)
0468d69
3d91dfb
* Mon Dec 28 13:34:03 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.4.3-2
3d91dfb
- Rebuild
3d91dfb
e0aed78
* Wed Aug 26 2020 Josh Stone <jistone@redhat.com> - 0.4.3-1
e0aed78
- Update to 0.4.3
e0aed78
b83cc6b
* Sun Aug 16 15:02:00 GMT 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.4.1-4
b83cc6b
- Rebuild
b83cc6b
e43256e
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-3
e43256e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
e43256e
c4f39ca
* Sun Jun 07 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.4.1-2
c4f39ca
- Recommends: fzf
c4f39ca
a295d1d
* Mon May 25 07:37:22 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.4.1-1
a295d1d
- Update to 0.4.1
a295d1d
eb69dc5
* Thu May 14 15:19:09 CEST 2020 Igor Raits <i.gnatenko.brain@gmail.com> - 0.4.0-1
eb69dc5
- Initial package