# Generated by rust2rpm 10
%bcond_without check
%global __cargo_skip_build 0
%global crate lsd
Name: rust-%{crate}
Version: 0.16.0
Release: 1%{?dist}
Summary: Ls command with a lot of pretty colors and some other stuff
# Upstream license specification: Apache-2.0
License: ASL 2.0
URL: https://crates.io/crates/lsd
Source: %{crates_source}
# Initial patched metadata
# - Remove Windows only dependencies
Patch0: lsd-fix-metadata.diff
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
%global _description %{expand:
Ls command with a lot of pretty colors and some other stuff.}
%description %{_description}
%package -n %{crate}
Summary: %{summary}
%description -n %{crate} %{_description}
%files -n %{crate}
%license LICENSE
%doc CHANGELOG.md CODEOWNERS README.md
%{_bindir}/lsd
%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
* Sat Aug 03 14:25:20 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.16.0-1
- Update to 0.16.0
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Jul 20 21:21:46 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.15.1-4
- Regenerate
* Sun Jun 09 21:55:03 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.15.1-3
- Switch to tempfile
* Sun Jun 09 19:54:30 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.15.1-2
- Regenerate
* Thu May 30 17:04:56 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.15.1-1
- Release 0.15.1 (#1713354)
* Thu Apr 25 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.14.0-1
- Initial package