From 0db445373c7261aa018cdb8830b8d2f768857911 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Mon, 20 May 2019 13:42:36 -0700 Subject: [PATCH] Update to 0.2.7 --- .gitignore | 1 + num-traits-fix-metadata.diff | 10 ---------- rust-num-traits.spec | 17 +++++++++-------- sources | 2 +- 4 files changed, 11 insertions(+), 19 deletions(-) delete mode 100644 num-traits-fix-metadata.diff diff --git a/.gitignore b/.gitignore index 97d0f99..20c379e 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /num-traits-0.2.4.crate /num-traits-0.2.5.crate /num-traits-0.2.6.crate +/num-traits-0.2.7.crate diff --git a/num-traits-fix-metadata.diff b/num-traits-fix-metadata.diff deleted file mode 100644 index e31a8e1..0000000 --- a/num-traits-fix-metadata.diff +++ /dev/null @@ -1,10 +0,0 @@ ---- num-traits-0.2.6/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ num-traits-0.2.6/Cargo.toml 2018-10-31T11:24:53.673968+01:00 -@@ -23,6 +23,7 @@ - categories = ["algorithms", "science", "no-std"] - license = "MIT/Apache-2.0" - repository = "https://github.com/rust-num/num-traits" -+exclude = ["/ci/*", "/.travis.yml", "/bors.toml"] - [package.metadata.docs.rs] - features = ["std"] - diff --git a/rust-num-traits.spec b/rust-num-traits.spec index 783c0ea..4644fde 100644 --- a/rust-num-traits.spec +++ b/rust-num-traits.spec @@ -1,25 +1,23 @@ -# Generated by rust2rpm +# Generated by rust2rpm-9-1.fc30 %bcond_with check %global debug_package %{nil} %global crate num-traits Name: rust-%{crate} -Version: 0.2.6 -Release: 4%{?dist} +Version: 0.2.7 +Release: 1%{?dist} Summary: Numeric traits for generic mathematics # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/num-traits -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate -# Initial patched metadata -# * Exclude CI files, https://github.com/rust-num/num-traits/pull/92 -Patch0: num-traits-fix-metadata.diff +Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging +BuildRequires: (crate(autocfg/default) >= 0.1.2 with crate(autocfg/default) < 0.2.0) %global _description \ Numeric traits for generic mathematics. @@ -77,7 +75,7 @@ which use "std" feature of "%{crate}" crate. %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %build @@ -92,6 +90,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Mon May 20 2019 Josh Stone - 0.2.7-1 +- Update to 0.2.7 + * Sat Feb 09 2019 Igor Gnatenko - 0.2.6-4 - Run tests in infrastructure diff --git a/sources b/sources index ebe4094..062433e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (num-traits-0.2.6.crate) = db638c662737972f07bc7ab82b923bece8a6c04719199ec0c7ca90140ac11e4fd1e4eb3748a69ddd3ad2791d4f5f5f69a00ce8aae92a647d9015d130f85b6b4c +SHA512 (num-traits-0.2.7.crate) = 48796da3cabe4bf9ee0e82a315299f49c6e8645fb6c255fd57bb6fb73f8b8b1725f44a4b8553bc88fa1176159b0805feaeeb061438a454da07fb78e424c51518