You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rust-zoxide/rust-zoxide.spec

66 lines
1.2 KiB

# Generated by rust2rpm 15
%bcond_without check
%global __cargo_skip_build 0
%global crate zoxide
Name: rust-%{crate}
Version: 0.4.1
Release: 1%{?dist}
Summary: Faster way to navigate your filesystem
# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/zoxide
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
%global _description %{expand:
Faster way to navigate your filesystem.}
%description %{_description}
%package -n %{crate}
Summary: %{summary}
# * ASL 2.0 or MIT
# * CC0
# * MIT
# * MIT or ASL 2.0
# * Unlicense or MIT
License: MIT and CC0
%description -n %{crate} %{_description}
%files -n %{crate}
%license LICENSE
%doc README.md CHANGELOG.md
%{_bindir}/zoxide
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
* Mon May 25 07:37:22 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.4.1-1
- Update to 0.4.1
* Thu May 14 15:19:09 CEST 2020 Igor Raits <i.gnatenko.brain@gmail.com> - 0.4.0-1
- Initial package