b7fe1b2
# Generated by rust2rpm 26
8c1dce2
%bcond_without check
eb9f89d
%global debug_package %{nil}
eb9f89d
eb9f89d
%global crate itoa
eb9f89d
1b4f5c3
Name:           rust-itoa
b7fe1b2
Version:        1.0.11
a4ef599
Release:        %autorelease
acdcabf
Summary:        Fast integer primitive to string conversion
eb9f89d
1b4f5c3
License:        MIT OR Apache-2.0
eb9f89d
URL:            https://crates.io/crates/itoa
2d16a14
Source:         %{crates_source}
eb9f89d
604a250
BuildRequires:  cargo-rpm-macros >= 24
eb9f89d
8c1dce2
%global _description %{expand:
acdcabf
Fast integer primitive to string conversion.}
a74464c
a74464c
%description %{_description}
eb9f89d
eb9f89d
%package        devel
eb9f89d
Summary:        %{summary}
eb9f89d
BuildArch:      noarch
eb9f89d
a74464c
%description    devel %{_description}
a74464c
acdcabf
This package contains library source intended for building other packages which
acdcabf
use the "%{crate}" crate.
a74464c
a74464c
%files          devel
e520c99
%license %{crate_instdir}/LICENSE-APACHE
e520c99
%license %{crate_instdir}/LICENSE-MIT
e520c99
%doc %{crate_instdir}/README.md
e520c99
%{crate_instdir}/
a74464c
a74464c
%package     -n %{name}+default-devel
a74464c
Summary:        %{summary}
a74464c
BuildArch:      noarch
a74464c
a74464c
%description -n %{name}+default-devel %{_description}
eb9f89d
acdcabf
This package contains library source intended for building other packages which
acdcabf
use the "default" feature of the "%{crate}" crate.
a74464c
a74464c
%files       -n %{name}+default-devel
e520c99
%ghost %{crate_instdir}/Cargo.toml
a74464c
c3cfdff
%package     -n %{name}+no-panic-devel
c3cfdff
Summary:        %{summary}
c3cfdff
BuildArch:      noarch
c3cfdff
c3cfdff
%description -n %{name}+no-panic-devel %{_description}
c3cfdff
c3cfdff
This package contains library source intended for building other packages which
c3cfdff
use the "no-panic" feature of the "%{crate}" crate.
c3cfdff
c3cfdff
%files       -n %{name}+no-panic-devel
c3cfdff
%ghost %{crate_instdir}/Cargo.toml
c3cfdff
eb9f89d
%prep
604a250
%autosetup -n %{crate}-%{version} -p1
eb9f89d
%cargo_prep
eb9f89d
56255f0
%generate_buildrequires
56255f0
%cargo_generate_buildrequires
56255f0
eb9f89d
%build
eb9f89d
%cargo_build
eb9f89d
eb9f89d
%install
eb9f89d
%cargo_install
eb9f89d
eb9f89d
%if %{with check}
eb9f89d
%check
eb9f89d
%cargo_test
eb9f89d
%endif
eb9f89d
eb9f89d
%changelog
a4ef599
%autochangelog