|
|
@ -6,12 +6,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.1.41
|
|
|
|
Version: 0.1.41
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: Collection of numeric types and traits for Rust
|
|
|
|
Summary: Collection of numeric types and traits for Rust
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
URL: https://crates.io/crates/num
|
|
|
|
URL: https://crates.io/crates/num
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
|
|
|
# * Bump rand to 0.4, upstream removed this req
|
|
|
|
|
|
|
|
Patch0: num-0.1.41-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
@ -25,7 +28,7 @@ BuildRequires: (crate(num-rational) >= 0.1.40 with crate(num-rational) < 0.2.0)
|
|
|
|
BuildRequires: (crate(num-traits) >= 0.1.41 with crate(num-traits) < 0.2.0)
|
|
|
|
BuildRequires: (crate(num-traits) >= 0.1.41 with crate(num-traits) < 0.2.0)
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
# [dev-dependencies]
|
|
|
|
# [dev-dependencies]
|
|
|
|
BuildRequires: (crate(rand) >= 0.3.8 with crate(rand) < 0.4.0)
|
|
|
|
BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -64,6 +67,9 @@ which use %{crate} from crates.io.
|
|
|
|
%exclude %{cargo_registry}/%{crate}-%{version}/{bors.toml,ci,doc}
|
|
|
|
%exclude %{cargo_registry}/%{crate}-%{version}/{bors.toml,ci,doc}
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Jan 01 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.41-2
|
|
|
|
|
|
|
|
- Bump rand to 0.4
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Dec 02 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.41-1
|
|
|
|
* Sat Dec 02 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.41-1
|
|
|
|
- Update to 0.1.41
|
|
|
|
- Update to 0.1.41
|
|
|
|
|
|
|
|
|
|
|
|