# Generated by rust2rpm 13
%bcond_without check
# No devel stuff in released Fedora
%global __cargo_is_lib() false
%global crate starship
Name: rust-%{crate}
Version: 0.42.0
Release: 4%{?dist}
Summary: Minimal, blazing-fast, and infinitely customizable prompt for any shell! ☄🌌️
# Upstream license specification: ISC
License: ISC
URL: https://crates.io/crates/starship
Source: %{crates_source}
# Initial patched metadata
# * No vendored
Patch0: starship-fix-metadata.diff
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
%global _description %{expand:
Minimal, blazing-fast, and infinitely customizable prompt for any shell! ☄🌌️.}
%description %{_description}
%package -n %{crate}
Summary: %{summary}
# * (MIT or ASL 2.0) and BSD
# * ASL 2.0
# * ASL 2.0 or Boost
# * ASL 2.0 or MIT
# * ISC
# * MIT
# * MIT or ASL 2.0
# * MPLv2.0
# * Unlicense or MIT
License: ISC and ASL 2.0 and MIT and BSD and MPLv2.0
%description -n %{crate} %{_description}
%files -n %{crate}
%license LICENSE
%doc README.md
%{_bindir}/starship
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
# https://github.com/starship/starship/issues/755
sed -i -e '/EXE_PATH/s|/debug/|/release/|' tests/testsuite/common.rs
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%if %{with check}
echo 'git-core'
%endif
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
* Sun Aug 16 15:01:50 GMT 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.42.0-4
- Rebuild
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.42.0-3
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.42.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jun 10 2020 Josh Stone <jistone@redhat.com> - 0.42.0-1
- Update to 0.42.0
* Sat May 16 19:47:50 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.41.3-1
- Update to 0.41.3
* Thu May 14 19:31:23 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.41.1-1
- Update to 0.41.1
* Tue May 05 2020 Josh Stone <jistone@redhat.com> - 0.41.0-1
- Update to 0.41.0
* Wed Apr 15 08:44:33 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.40.1-1
- Update to 0.40.1
* Sat Mar 21 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.38.0-1
- Update to 0.38.0
* Thu Mar 19 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.37.0-2
- Update to 0.37.0
* Tue Feb 11 16:43:01 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.35.1-1
- Update to 0.35.1
* Thu Dec 26 11:55:11 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.32.1-1.1
- Initial package