diff --git a/approx-fix-metadata.diff b/approx-fix-metadata.diff new file mode 100644 index 0000000..cff615e --- /dev/null +++ b/approx-fix-metadata.diff @@ -0,0 +1,11 @@ +--- approx-0.3.2/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ approx-0.3.2/Cargo.toml 2020-07-10T00:49:16.261259+00:00 +@@ -27,7 +27,7 @@ + [lib] + name = "approx" + [dependencies.num-complex] +-version = "0.2.0" ++version = "0.3.0" + optional = true + + [dependencies.num-traits] diff --git a/rust-approx.spec b/rust-approx.spec index 8f4e305..16d2dcb 100644 --- a/rust-approx.spec +++ b/rust-approx.spec @@ -6,13 +6,16 @@ Name: rust-%{crate} Version: 0.3.2 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Approximate floating point equality comparisons and assertions # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: https://crates.io/crates/approx Source: %{crates_source} +# Initial patched metadata +# * Update num-complex to 0.3 +Patch0: approx-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -95,6 +98,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Thu Jul 09 2020 Josh Stone - 0.3.2-6 +- Update num-complex to 0.3 + * Thu Jan 30 2020 Fedora Release Engineering - 0.3.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild