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}
660b0d7
Version:        0.2.1
660b0d7
Release:        1%{?dist}
e2afb10
Summary:        Big integer implementation for Rust
e2afb10
660b0d7
# Upstream license specification: MIT/Apache-2.0
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
660b0d7
BuildRequires:  (crate(num-integer) >= 0.1.39 with crate(num-integer) < 0.2.0)
660b0d7
BuildRequires:  (crate(num-integer/i128) >= 0.1.39 with crate(num-integer/i128) < 0.2.0)
660b0d7
BuildRequires:  (crate(num-integer/std) >= 0.1.39 with crate(num-integer/std) < 0.2.0)
24fb4b3
BuildRequires:  (crate(num-traits) >= 0.2.4 with crate(num-traits) < 0.3.0)
660b0d7
BuildRequires:  (crate(num-traits/i128) >= 0.2.4 with crate(num-traits/i128) < 0.3.0)
660b0d7
BuildRequires:  (crate(num-traits/std) >= 0.2.4 with crate(num-traits/std) < 0.3.0)
660b0d7
BuildRequires:  (crate(rand/std) >= 0.5.0 with crate(rand/std) < 0.6.0)
660b0d7
BuildRequires:  (crate(serde/std) >= 1.0.0 with crate(serde/std) < 2.0.0)
e2afb10
%if %{with check}
660b0d7
BuildRequires:  (crate(serde_test/default) >= 1.0.0 with crate(serde_test/default) < 2.0.0)
e2afb10
%endif
e2afb10
660b0d7
%global _description \
660b0d7
Big integer implementation for Rust.
660b0d7
660b0d7
%description %{_description}
e2afb10
e2afb10
%package        devel
e2afb10
Summary:        %{summary}
e2afb10
BuildArch:      noarch
e2afb10
660b0d7
%description    devel %{_description}
e2afb10
e2afb10
This package contains library source intended for building other packages
e2afb10
which use %{crate} from crates.io.
e2afb10
660b0d7
%files          devel
660b0d7
%license LICENSE-MIT LICENSE-APACHE
660b0d7
%doc README.md RELEASES.md
660b0d7
%{cargo_registry}/%{crate}-%{version}/
660b0d7
660b0d7
%package     -n %{name}+default-devel
660b0d7
Summary:        %{summary}
660b0d7
BuildArch:      noarch
660b0d7
660b0d7
%description -n %{name}+default-devel %{_description}
660b0d7
660b0d7
This package contains library source intended for building other packages
660b0d7
which use "default" feature of "%{crate}" crate.
660b0d7
660b0d7
%files       -n %{name}+default-devel
660b0d7
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
660b0d7
660b0d7
%package     -n %{name}+i128-devel
660b0d7
Summary:        %{summary}
660b0d7
BuildArch:      noarch
660b0d7
660b0d7
%description -n %{name}+i128-devel %{_description}
660b0d7
660b0d7
This package contains library source intended for building other packages
660b0d7
which use "i128" feature of "%{crate}" crate.
660b0d7
660b0d7
%files       -n %{name}+i128-devel
660b0d7
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
660b0d7
660b0d7
%package     -n %{name}+rand-devel
660b0d7
Summary:        %{summary}
660b0d7
BuildArch:      noarch
660b0d7
660b0d7
%description -n %{name}+rand-devel %{_description}
660b0d7
660b0d7
This package contains library source intended for building other packages
660b0d7
which use "rand" feature of "%{crate}" crate.
660b0d7
660b0d7
%files       -n %{name}+rand-devel
660b0d7
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
660b0d7
660b0d7
%package     -n %{name}+serde-devel
660b0d7
Summary:        %{summary}
660b0d7
BuildArch:      noarch
660b0d7
660b0d7
%description -n %{name}+serde-devel %{_description}
660b0d7
660b0d7
This package contains library source intended for building other packages
660b0d7
which use "serde" feature of "%{crate}" crate.
660b0d7
660b0d7
%files       -n %{name}+serde-devel
660b0d7
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
660b0d7
660b0d7
%package     -n %{name}+std-devel
660b0d7
Summary:        %{summary}
660b0d7
BuildArch:      noarch
660b0d7
660b0d7
%description -n %{name}+std-devel %{_description}
660b0d7
660b0d7
This package contains library source intended for building other packages
660b0d7
which use "std" feature of "%{crate}" crate.
660b0d7
660b0d7
%files       -n %{name}+std-devel
660b0d7
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
660b0d7
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
%changelog
660b0d7
* Sat Nov 03 2018 Josh Stone <jistone@redhat.com> - 0.2.1-1
660b0d7
- Update to 0.2.1
660b0d7
0206706
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-2
0206706
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
0206706
24fb4b3
* Sat Jun 30 2018 Josh Stone <jistone@redhat.com> - 0.2.0-1
24fb4b3
- Update to 0.2.0
24fb4b3
99ac7c5
* Mon May 14 2018 Josh Stone <jistone@redhat.com> - 0.1.44-1
99ac7c5
- Update to 0.1.44
99ac7c5
a23b9e0
* Fri Feb 09 2018 Josh Stone <jistone@redhat.com> - 0.1.43-1
a23b9e0
- Update to 0.1.43
a23b9e0
aef9a25
* Thu Feb 08 2018 Josh Stone <jistone@redhat.com> - 0.1.42-1
aef9a25
- Update to 0.1.42
aef9a25
6291528
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.41-3
6291528
- Rebuild for rust-packaging v5
6291528
5ec3947
* Mon Jan 01 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.41-2
5ec3947
- Bump rand to 0.4
5ec3947
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