Update to 0.2.1

epel9
Josh Stone 6 years ago
parent 0206706e97
commit 660b0d79c5

1
.gitignore vendored

@ -4,3 +4,4 @@
/num-bigint-0.1.43.crate /num-bigint-0.1.43.crate
/num-bigint-0.1.44.crate /num-bigint-0.1.44.crate
/num-bigint-0.2.0.crate /num-bigint-0.2.0.crate
/num-bigint-0.2.1.crate

@ -5,10 +5,11 @@
%global crate num-bigint %global crate num-bigint
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.2.0 Version: 0.2.1
Release: 2%{?dist} Release: 1%{?dist}
Summary: Big integer implementation for Rust Summary: Big integer implementation for Rust
# Upstream license specification: MIT/Apache-2.0
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
@ -16,29 +17,97 @@ Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging BuildRequires: rust-packaging
# [dependencies] BuildRequires: (crate(num-integer) >= 0.1.39 with crate(num-integer) < 0.2.0)
BuildRequires: (crate(num-integer) >= 0.1.38 with crate(num-integer) < 0.2.0) BuildRequires: (crate(num-integer/i128) >= 0.1.39 with crate(num-integer/i128) < 0.2.0)
BuildRequires: (crate(num-integer/std) >= 0.1.39 with crate(num-integer/std) < 0.2.0)
BuildRequires: (crate(num-traits) >= 0.2.4 with crate(num-traits) < 0.3.0) BuildRequires: (crate(num-traits) >= 0.2.4 with crate(num-traits) < 0.3.0)
BuildRequires: ((crate(rand) >= 0.5.0 with crate(rand) < 0.6.0) with crate(rand/std)) BuildRequires: (crate(num-traits/i128) >= 0.2.4 with crate(num-traits/i128) < 0.3.0)
BuildRequires: ((crate(serde) >= 1.0.0 with crate(serde) < 2.0.0) with crate(serde/std)) BuildRequires: (crate(num-traits/std) >= 0.2.4 with crate(num-traits/std) < 0.3.0)
BuildRequires: (crate(rand/std) >= 0.5.0 with crate(rand/std) < 0.6.0)
BuildRequires: (crate(serde/std) >= 1.0.0 with crate(serde/std) < 2.0.0)
%if %{with check} %if %{with check}
# [dev-dependencies] BuildRequires: (crate(serde_test/default) >= 1.0.0 with crate(serde_test/default) < 2.0.0)
BuildRequires: (crate(serde_test) >= 1.0.0 with crate(serde_test) < 2.0.0)
%endif %endif
%description %global _description \
%{summary}. Big integer implementation for Rust.
%description %{_description}
%package devel %package devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description devel %description devel %{_description}
Big integer implementation for Rust.
This package contains library source intended for building other packages This package contains library source intended for building other packages
which use %{crate} from crates.io. which use %{crate} from crates.io.
%files devel
%license LICENSE-MIT LICENSE-APACHE
%doc README.md RELEASES.md
%{cargo_registry}/%{crate}-%{version}/
%package -n %{name}+default-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages
which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+i128-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+i128-devel %{_description}
This package contains library source intended for building other packages
which use "i128" feature of "%{crate}" crate.
%files -n %{name}+i128-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+rand-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+rand-devel %{_description}
This package contains library source intended for building other packages
which use "rand" feature of "%{crate}" crate.
%files -n %{name}+rand-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serde-devel %{_description}
This package contains library source intended for building other packages
which use "serde" feature of "%{crate}" crate.
%files -n %{name}+serde-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+std-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+std-devel %{_description}
This package contains library source intended for building other packages
which use "std" feature of "%{crate}" crate.
%files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version} -p1 %autosetup -n %{crate}-%{version} -p1
%cargo_prep %cargo_prep
@ -54,12 +123,10 @@ which use %{crate} from crates.io.
%cargo_test %cargo_test
%endif %endif
%files devel
%license LICENSE-MIT LICENSE-APACHE
%doc README.md RELEASES.md
%{cargo_registry}/%{crate}-%{version}/
%changelog %changelog
* Sat Nov 03 2018 Josh Stone <jistone@redhat.com> - 0.2.1-1
- Update to 0.2.1
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-2 * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

@ -1 +1 @@
SHA512 (num-bigint-0.2.0.crate) = 90048c4881449d2a186a52eaa4b5430f201a845df86acc85b389b80f30f1cf495c14c20cc4708b54a8d0cb2012926930326c56f51f6f339238eaec736d03ab73 SHA512 (num-bigint-0.2.1.crate) = e809f9946220a754f2a21ff343584f152111687e7177a500f98f17b47087ffcd9fe70327c9205738490cb0d358d5df52e8498d1a3a41754b6d8a28f161dc5136

Loading…
Cancel
Save