From 6b61e28059b2e5a2e2d4ebdaaee68d8635e6564f Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Fri, 9 Feb 2018 18:08:22 +0100 Subject: [PATCH] Update to 0.1.42 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + num-0.1.41-fix-metadata.diff | 11 ----------- rust-num.spec | 30 +++++++++++++----------------- sources | 2 +- 4 files changed, 15 insertions(+), 29 deletions(-) delete mode 100644 num-0.1.41-fix-metadata.diff diff --git a/.gitignore b/.gitignore index fa09d1d..39d6ef5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /num-0.1.40.crate /num-0.1.41.crate +/num-0.1.42.crate diff --git a/num-0.1.41-fix-metadata.diff b/num-0.1.41-fix-metadata.diff deleted file mode 100644 index c7a9e69..0000000 --- a/num-0.1.41-fix-metadata.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- num-0.1.41/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ num-0.1.41/Cargo.toml 2018-01-01T13:14:15.420869+01:00 -@@ -50,7 +50,7 @@ - version = "0.1.41" - optional = true - [dev-dependencies.rand] --version = "0.3.8" -+version = "0.4" - - [features] - complex = ["num-complex"] diff --git a/rust-num.spec b/rust-num.spec index d211e3d..1a1eaba 100644 --- a/rust-num.spec +++ b/rust-num.spec @@ -5,31 +5,24 @@ %global crate num Name: rust-%{crate} -Version: 0.1.41 -Release: 4%{?dist} +Version: 0.1.42 +Release: 1%{?dist} Summary: Collection of numeric types and traits for Rust License: MIT or ASL 2.0 URL: https://crates.io/crates/num 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} BuildRequires: rust-packaging # [dependencies] -BuildRequires: (crate(num-bigint) >= 0.1.41 with crate(num-bigint) < 0.2.0) -BuildRequires: (crate(num-complex) >= 0.1.41 with crate(num-complex) < 0.2.0) -BuildRequires: (crate(num-integer) >= 0.1.35 with crate(num-integer) < 0.2.0) -BuildRequires: (crate(num-iter) >= 0.1.34 with crate(num-iter) < 0.2.0) -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) -%if %{with check} -# [dev-dependencies] -BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0) -%endif +BuildRequires: (crate(num-bigint) >= 0.1.42 with crate(num-bigint) < 0.2.0) +BuildRequires: (crate(num-complex) >= 0.1.42 with crate(num-complex) < 0.2.0) +BuildRequires: (crate(num-integer) >= 0.1.36 with crate(num-integer) < 0.2.0) +BuildRequires: (crate(num-iter) >= 0.1.35 with crate(num-iter) < 0.2.0) +BuildRequires: (crate(num-rational) >= 0.1.42 with crate(num-rational) < 0.2.0) +BuildRequires: (crate(num-traits) >= 0.2.0 with crate(num-traits) < 0.3.0) %description %{summary}. @@ -62,11 +55,14 @@ which use %{crate} from crates.io. %files devel %license LICENSE-MIT LICENSE-APACHE -%doc README.md +%doc README.md RELEASES.md %{cargo_registry}/%{crate}-%{version}/ -%exclude %{cargo_registry}/%{crate}-%{version}/{bors.toml,ci,doc} +%exclude %{cargo_registry}/%{crate}-%{version}/{bors.toml,ci} %changelog +* Fri Feb 09 2018 Igor Gnatenko - 0.1.42-1 +- Update to 0.1.42 + * Fri Feb 09 2018 Fedora Release Engineering - 0.1.41-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index 1336596..6b110c1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (num-0.1.41.crate) = 96c551c1a5dbdb72f202466102cb2d453f24c40aa74f627d10c36fec3d541e54c9815a8ac47703ca12b7b5a50cf964b2076b9a3f08d70af70cfa934491dcc70f +SHA512 (num-0.1.42.crate) = d8d48080f84dbda59d16418f39aca158deda1fabfba2aed1944f77b3c6099a244d7a32e79f28b9b72dad4cd446a8f4f854afaf3f368e3ffbbd124e64e4aef3cc