Blame rust-num-bigint.spec

e2afb10
# Generated by rust2rpm
e2afb10
%bcond_without check
e2afb10
%global debug_package %{nil}
e2afb10
e2afb10
%global crate num-bigint
e2afb10
e2afb10
Name:           rust-%{crate}
6345e8b
Version:        0.1.41
e2afb10
Release:        1%{?dist}
e2afb10
Summary:        Big integer implementation for Rust
e2afb10
e2afb10
License:        MIT or ASL 2.0
e2afb10
URL:            https://crates.io/crates/num-bigint
e2afb10
Source0:        https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
e2afb10
e2afb10
ExclusiveArch:  %{rust_arches}
e2afb10
e2afb10
BuildRequires:  rust-packaging
e2afb10
# [dependencies]
e2afb10
BuildRequires:  (crate(num-integer) >= 0.1.32 with crate(num-integer) < 0.2.0)
e2afb10
BuildRequires:  (crate(num-traits) >= 0.1.32 with crate(num-traits) < 0.2.0)
e2afb10
BuildRequires:  (crate(rand) >= 0.3.14 with crate(rand) < 0.4.0)
e2afb10
BuildRequires:  (crate(rustc-serialize) >= 0.3.19 with crate(rustc-serialize) < 0.4.0)
e2afb10
BuildRequires:  (crate(serde) >= 0.7.0 with crate(serde) < 0.9.0)
e2afb10
%if %{with check}
e2afb10
# [dev-dependencies]
e2afb10
BuildRequires:  (crate(rand) >= 0.3.14 with crate(rand) < 0.4.0)
e2afb10
%endif
e2afb10
e2afb10
%description
e2afb10
%{summary}.
e2afb10
e2afb10
%package        devel
e2afb10
Summary:        %{summary}
e2afb10
BuildArch:      noarch
e2afb10
e2afb10
%description    devel
e2afb10
Big integer implementation for Rust.
e2afb10
e2afb10
This package contains library source intended for building other packages
e2afb10
which use %{crate} from crates.io.
e2afb10
e2afb10
%prep
e2afb10
%autosetup -n %{crate}-%{version} -p1
e2afb10
%cargo_prep
e2afb10
e2afb10
%build
e2afb10
%cargo_build
e2afb10
e2afb10
%install
e2afb10
%cargo_install
e2afb10
e2afb10
%if %{with check}
e2afb10
%check
e2afb10
%cargo_test
e2afb10
%endif
e2afb10
e2afb10
%files          devel
e2afb10
%license LICENSE-MIT LICENSE-APACHE
e2afb10
%{cargo_registry}/%{crate}-%{version}/
e2afb10
e2afb10
%changelog
6345e8b
* Sat Dec 02 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.41-1
6345e8b
- Update to 0.1.41
6345e8b
e2afb10
* Tue Nov 07 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.40-1
e2afb10
- Update to 0.1.40
e2afb10
e2afb10
* Thu Jun 15 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.39-1
e2afb10
- Update to 0.1.39
e2afb10
e2afb10
* Wed Jun 14 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.37-2
e2afb10
- Port to use rust-packaging
e2afb10
e2afb10
* Wed Mar 15 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.37-1
e2afb10
- Update to 0.1.37
e2afb10
e2afb10
* Thu Mar 02 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.36-1
e2afb10
- Initial package