Update to 0.1.42

epel9
Josh Stone 7 years ago
parent 6291528f9c
commit aef9a25289

1
.gitignore vendored

@ -1,2 +1,3 @@
/num-bigint-0.1.40.crate /num-bigint-0.1.40.crate
/num-bigint-0.1.41.crate /num-bigint-0.1.41.crate
/num-bigint-0.1.42.crate

@ -1,20 +0,0 @@
--- num-bigint-0.1.41/Cargo.toml 1970-01-01T01:00:00+01:00
+++ num-bigint-0.1.41/Cargo.toml 2018-01-01T12:14:32.255858+01:00
@@ -25,7 +25,7 @@
version = "0.1.32"
[dependencies.rand]
-version = "0.3.14"
+version = "0.4"
optional = true
[dependencies.rustc-serialize]
@@ -39,7 +39,7 @@
[dependencies.num-traits]
version = "0.1.32"
[dev-dependencies.rand]
-version = "0.3.14"
+version = "0.4"
[features]
default = ["rand", "rustc-serialize"]

@ -5,29 +5,26 @@
%global crate num-bigint %global crate num-bigint
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.1.41 Version: 0.1.42
Release: 3%{?dist} Release: 1%{?dist}
Summary: Big integer implementation for Rust Summary: Big integer implementation for Rust
License: MIT or ASL 2.0 License: MIT or ASL 2.0
URL: https://crates.io/crates/num-bigint URL: https://crates.io/crates/num-bigint
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, https://github.com/rust-num/num-bigint/pull/11
Patch0: num-bigint-0.1.41-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging BuildRequires: rust-packaging
# [dependencies] # [dependencies]
BuildRequires: (crate(num-integer) >= 0.1.32 with crate(num-integer) < 0.2.0) BuildRequires: (crate(num-integer) >= 0.1.36 with crate(num-integer) < 0.2.0)
BuildRequires: (crate(num-traits) >= 0.1.32 with crate(num-traits) < 0.2.0) BuildRequires: ((crate(num-traits) >= 0.2.0 with crate(num-traits) < 0.3.0) with crate(num-traits/std))
BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0) BuildRequires: (crate(rand) >= 0.3.14 with crate(rand) < 0.5.0)
BuildRequires: (crate(rustc-serialize) >= 0.3.19 with crate(rustc-serialize) < 0.4.0) BuildRequires: (crate(rustc-serialize) >= 0.3.19 with crate(rustc-serialize) < 0.4.0)
BuildRequires: (crate(serde) >= 0.7.0 with crate(serde) < 0.9.0) BuildRequires: (crate(serde) >= 0.7.0 with crate(serde) < 0.9.0)
%if %{with check} %if %{with check}
# [dev-dependencies] # [dev-dependencies]
BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0) BuildRequires: (crate(rand) >= 0.3.14 with crate(rand) < 0.5.0)
%endif %endif
%description %description
@ -47,6 +44,9 @@ which use %{crate} from crates.io.
%autosetup -n %{crate}-%{version} -p1 %autosetup -n %{crate}-%{version} -p1
%cargo_prep %cargo_prep
# https://github.com/rust-num/num-bigint/commit/16fa6c94e897b2dc54f6915d612f2427f52a430e
chmod -x benches/gcd.rs
%build %build
%cargo_build %cargo_build
@ -60,9 +60,13 @@ which use %{crate} from crates.io.
%files devel %files devel
%license LICENSE-MIT LICENSE-APACHE %license LICENSE-MIT LICENSE-APACHE
%doc README.md RELEASES.md
%{cargo_registry}/%{crate}-%{version}/ %{cargo_registry}/%{crate}-%{version}/
%changelog %changelog
* Thu Feb 08 2018 Josh Stone <jistone@redhat.com> - 0.1.42-1
- Update to 0.1.42
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.41-3 * Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.41-3
- Rebuild for rust-packaging v5 - Rebuild for rust-packaging v5

@ -1 +1 @@
SHA512 (num-bigint-0.1.41.crate) = c9e19babcb448ac19ac8099fb1039e9ab8b1b7ec354120a7f958715da0620f2a54670e8d51d4470dc8719e51191a5c6b00f3ab9b5617c0ccd77b988fceceea19 SHA512 (num-bigint-0.1.42.crate) = 5ecc210137d983eba754effed3c57c28df0a9c73ff3c1f5f88d3664091f43935c42726958910b8b7dfcda9ca50ea3d517d882cf323a1809e7ee8ef72a2a4d9c3

Loading…
Cancel
Save