d44c12e
# Generated by rust2rpm 25
b17131e
%bcond_without check
dcecf35
%global debug_package %{nil}
dcecf35
dcecf35
%global crate indicatif
dcecf35
a2a585c
Name:           rust-indicatif
d44c12e
Version:        0.17.8
ab0e58b
Release:        %autorelease
dcecf35
Summary:        Progress bar and cli reporting library for Rust
dcecf35
dcecf35
License:        MIT
dcecf35
URL:            https://crates.io/crates/indicatif
dcecf35
Source:         %{crates_source}
d44c12e
# Automatically generated patch to strip dependencies and normalize metadata
8e06d19
Patch:          indicatif-fix-metadata-auto.diff
dcecf35
db2740e
BuildRequires:  cargo-rpm-macros >= 24
dcecf35
b17131e
%global _description %{expand:
8e06d19
A progress bar and cli reporting library for Rust.}
dcecf35
dcecf35
%description %{_description}
dcecf35
dcecf35
%package        devel
dcecf35
Summary:        %{summary}
dcecf35
BuildArch:      noarch
dcecf35
dcecf35
%description    devel %{_description}
dcecf35
540992e
This package contains library source intended for building other packages which
540992e
use the "%{crate}" crate.
dcecf35
dcecf35
%files          devel
a2a585c
%license %{crate_instdir}/LICENSE
a2a585c
%doc %{crate_instdir}/README.md
a2a585c
%{crate_instdir}/
dcecf35
dcecf35
%package     -n %{name}+default-devel
dcecf35
Summary:        %{summary}
dcecf35
BuildArch:      noarch
dcecf35
dcecf35
%description -n %{name}+default-devel %{_description}
dcecf35
540992e
This package contains library source intended for building other packages which
540992e
use the "default" feature of the "%{crate}" crate.
dcecf35
dcecf35
%files       -n %{name}+default-devel
a2a585c
%ghost %{crate_instdir}/Cargo.toml
dcecf35
db2740e
%package     -n %{name}+futures-devel
db2740e
Summary:        %{summary}
db2740e
BuildArch:      noarch
db2740e
db2740e
%description -n %{name}+futures-devel %{_description}
db2740e
db2740e
This package contains library source intended for building other packages which
db2740e
use the "futures" feature of the "%{crate}" crate.
db2740e
db2740e
%files       -n %{name}+futures-devel
db2740e
%ghost %{crate_instdir}/Cargo.toml
db2740e
a50b028
%package     -n %{name}+improved_unicode-devel
a50b028
Summary:        %{summary}
a50b028
BuildArch:      noarch
a50b028
a50b028
%description -n %{name}+improved_unicode-devel %{_description}
a50b028
540992e
This package contains library source intended for building other packages which
540992e
use the "improved_unicode" feature of the "%{crate}" crate.
a50b028
a50b028
%files       -n %{name}+improved_unicode-devel
a2a585c
%ghost %{crate_instdir}/Cargo.toml
a2a585c
a2a585c
%package     -n %{name}+in_memory-devel
a2a585c
Summary:        %{summary}
a2a585c
BuildArch:      noarch
a2a585c
a2a585c
%description -n %{name}+in_memory-devel %{_description}
a2a585c
a2a585c
This package contains library source intended for building other packages which
a2a585c
use the "in_memory" feature of the "%{crate}" crate.
a2a585c
a2a585c
%files       -n %{name}+in_memory-devel
a2a585c
%ghost %{crate_instdir}/Cargo.toml
a50b028
e241185
%package     -n %{name}+rayon-devel
e241185
Summary:        %{summary}
e241185
BuildArch:      noarch
e241185
e241185
%description -n %{name}+rayon-devel %{_description}
e241185
540992e
This package contains library source intended for building other packages which
540992e
use the "rayon" feature of the "%{crate}" crate.
e241185
e241185
%files       -n %{name}+rayon-devel
a2a585c
%ghost %{crate_instdir}/Cargo.toml
a2a585c
a2a585c
%package     -n %{name}+tokio-devel
a2a585c
Summary:        %{summary}
a2a585c
BuildArch:      noarch
a2a585c
a2a585c
%description -n %{name}+tokio-devel %{_description}
a2a585c
a2a585c
This package contains library source intended for building other packages which
a2a585c
use the "tokio" feature of the "%{crate}" crate.
a2a585c
a2a585c
%files       -n %{name}+tokio-devel
a2a585c
%ghost %{crate_instdir}/Cargo.toml
e241185
a50b028
%package     -n %{name}+unicode-segmentation-devel
a50b028
Summary:        %{summary}
a50b028
BuildArch:      noarch
a50b028
a50b028
%description -n %{name}+unicode-segmentation-devel %{_description}
a50b028
540992e
This package contains library source intended for building other packages which
540992e
use the "unicode-segmentation" feature of the "%{crate}" crate.
a50b028
a50b028
%files       -n %{name}+unicode-segmentation-devel
a2a585c
%ghost %{crate_instdir}/Cargo.toml
a50b028
a50b028
%package     -n %{name}+unicode-width-devel
a50b028
Summary:        %{summary}
a50b028
BuildArch:      noarch
a50b028
a50b028
%description -n %{name}+unicode-width-devel %{_description}
a50b028
540992e
This package contains library source intended for building other packages which
540992e
use the "unicode-width" feature of the "%{crate}" crate.
a50b028
a50b028
%files       -n %{name}+unicode-width-devel
a2a585c
%ghost %{crate_instdir}/Cargo.toml
a50b028
a2a585c
%package     -n %{name}+vt100-devel
e241185
Summary:        %{summary}
e241185
BuildArch:      noarch
e241185
a2a585c
%description -n %{name}+vt100-devel %{_description}
e241185
540992e
This package contains library source intended for building other packages which
a2a585c
use the "vt100" feature of the "%{crate}" crate.
e241185
a2a585c
%files       -n %{name}+vt100-devel
a2a585c
%ghost %{crate_instdir}/Cargo.toml
e241185
dcecf35
%prep
d44c12e
%autosetup -n %{crate}-%{version} -p1
dcecf35
%cargo_prep
dcecf35
d31d0bb
%generate_buildrequires
d31d0bb
%cargo_generate_buildrequires
d31d0bb
dcecf35
%build
dcecf35
%cargo_build
dcecf35
dcecf35
%install
dcecf35
%cargo_install
dcecf35
dcecf35
%if %{with check}
dcecf35
%check
0b94a2d
# * skip a brittle test that fails depending on load
0b94a2d
%cargo_test -- -- --skip style::tests::wide_element_style
dcecf35
%endif
dcecf35
dcecf35
%changelog
ab0e58b
%autochangelog