Blob Blame Raw
# Generated by rust2rpm 9
%bcond_without check

%global crate cargo-bloat

Name:           rust-%{crate}
Version:        0.7.0
Release:        1%{?dist}
Summary:        Find out what takes most of the space in your executable

# Upstream license specification: MIT
License:        MIT
URL:            https://crates.io/crates/cargo-bloat
Source:         %{crates_source}

ExclusiveArch:  %{rust_arches}

BuildRequires:  rust-packaging
BuildRequires:  (crate(goblin/default) >= 0.0.22 with crate(goblin/default) < 0.0.23)
BuildRequires:  (crate(memmap/default) >= 0.7.0 with crate(memmap/default) < 0.8.0)
BuildRequires:  (crate(multimap/default) >= 0.5.0 with crate(multimap/default) < 0.6.0)
BuildRequires:  (crate(object/compression) >= 0.12.0 with crate(object/compression) < 0.13.0)
BuildRequires:  (crate(object/std) >= 0.12.0 with crate(object/std) < 0.13.0)
BuildRequires:  (crate(regex/default) >= 1.0.0 with crate(regex/default) < 2.0.0)
BuildRequires:  (crate(rustc-demangle/default) >= 0.1.6 with crate(rustc-demangle/default) < 0.2.0)
BuildRequires:  (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0)
BuildRequires:  (crate(serde_derive/default) >= 1.0.0 with crate(serde_derive/default) < 2.0.0)
BuildRequires:  (crate(serde_json/default) >= 1.0.0 with crate(serde_json/default) < 2.0.0)
BuildRequires:  (crate(structopt/default) >= 0.2.0 with crate(structopt/default) < 0.3.0)
BuildRequires:  (crate(term_size/default) >= 0.3.1 with crate(term_size/default) < 0.4.0)
BuildRequires:  (crate(time/default) >= 0.1.0 with crate(time/default) < 0.2.0)

%global _description %{expand:
Find out what takes most of the space in your executable.}

%description %{_description}

%package     -n %{crate}
Summary:        %{summary}

%description -n %{crate} %{_description}

%files       -n %{crate}
%license LICENSE
%doc README.md CHANGELOG.md
%{_bindir}/cargo-bloat

%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep

%build
%cargo_build

%install
%cargo_install

%if %{with check}
%check
%cargo_test
%endif

%changelog
* Sat Jun 08 11:58:39 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.0-1
- Update to 0.7.0

* Sat Jun 01 21:03:33 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.4-1
- Initial package