|
|
@ -5,31 +5,24 @@
|
|
|
|
%global crate num
|
|
|
|
%global crate num
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.1.41
|
|
|
|
Version: 0.1.42
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 1%{?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}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
# [dependencies]
|
|
|
|
# [dependencies]
|
|
|
|
BuildRequires: (crate(num-bigint) >= 0.1.41 with crate(num-bigint) < 0.2.0)
|
|
|
|
BuildRequires: (crate(num-bigint) >= 0.1.42 with crate(num-bigint) < 0.2.0)
|
|
|
|
BuildRequires: (crate(num-complex) >= 0.1.41 with crate(num-complex) < 0.2.0)
|
|
|
|
BuildRequires: (crate(num-complex) >= 0.1.42 with crate(num-complex) < 0.2.0)
|
|
|
|
BuildRequires: (crate(num-integer) >= 0.1.35 with crate(num-integer) < 0.2.0)
|
|
|
|
BuildRequires: (crate(num-integer) >= 0.1.36 with crate(num-integer) < 0.2.0)
|
|
|
|
BuildRequires: (crate(num-iter) >= 0.1.34 with crate(num-iter) < 0.2.0)
|
|
|
|
BuildRequires: (crate(num-iter) >= 0.1.35 with crate(num-iter) < 0.2.0)
|
|
|
|
BuildRequires: (crate(num-rational) >= 0.1.40 with crate(num-rational) < 0.2.0)
|
|
|
|
BuildRequires: (crate(num-rational) >= 0.1.42 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.2.0 with crate(num-traits) < 0.3.0)
|
|
|
|
%if %{with check}
|
|
|
|
|
|
|
|
# [dev-dependencies]
|
|
|
|
|
|
|
|
BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
%{summary}.
|
|
|
@ -62,11 +55,14 @@ which use %{crate} from crates.io.
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%license LICENSE-MIT LICENSE-APACHE
|
|
|
|
%license LICENSE-MIT LICENSE-APACHE
|
|
|
|
%doc README.md
|
|
|
|
%doc README.md RELEASES.md
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
%exclude %{cargo_registry}/%{crate}-%{version}/{bors.toml,ci,doc}
|
|
|
|
%exclude %{cargo_registry}/%{crate}-%{version}/{bors.toml,ci}
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.42-1
|
|
|
|
|
|
|
|
- Update to 0.1.42
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.41-4
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.41-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|